Sunnysideup\UpgradeToSilverstripe4\Api\FileNameToClass::getClassNamespaceFromFile
get the class namespace form file path using token
Signature
public function getClassNamespaceFromFile(string
$filePathName )
Parameters
$filePathName
— string
Returns
- string|null