Doctrine\OXM\Storage\FileSystemStorage::prepareStoragePathForClass PHP Méthode

prepareStoragePathForClass() private méthode

Build the realpath to save the xml in a specific folder
private prepareStoragePathForClass ( string $className ) : string
$className string
Résultat string
    private function prepareStoragePathForClass($className)
    {
        $filePath = $this->buildStoragePath($className);
        if (!file_exists($filePath)) {
            mkdir($filePath, $this->fileModeBits, true);
        }
        return $filePath;
    }