protected function makeDirectories(string $path)
    {
        $directoryName = dirname($path);

        if (!$this->fileSystem->isDirectory($directoryName)) {
            $this->fileSystem->makeDirectory($directoryName, 0777, true);
        }
    }
protected function makeDirectories(string $path)
    {
        $directoryName = dirname($path);

        if (!$this->fileSystem->isDirectory($directoryName)) {
            $this->fileSystem->makeDirectory($directoryName, 0777, true);
        }
    }
protected function makeDirectories ( string $ path ) { $ directoryName = dirname ( $ path ) ; if ( ! $ this -> fileSystem -> isDirectory ( $ directoryName ) ) { $ this -> fileSystem -> makeDirectory ( $ directoryName , 0777 , true ) ; } }
Makes the necessary directories for a class

@param string $path The fully-qualified class name
Makes the necessary directories for a class