src/Command/GenerateModuleCommand.php
protected function _createMissingFolders($sFilePath)
    {
        $sPath = dirname($sFilePath);

        if (!file_exists($sPath)) {
            mkdir($sPath, 0777, true);
        }
    }
protected function _createMissingFolders($sFilePath)
    {
        $sPath = dirname($sFilePath);

        if (!file_exists($sPath)) {
            mkdir($sPath, 0777, true);
        }
    }
protected function _createMissingFolders ( $ sFilePath ) { $ sPath = dirname ( $ sFilePath ) ; if ( ! file_exists ( $ sPath ) ) { mkdir ( $ sPath , 0777 , true ) ; } }
Create missing folders of file path

@param string $sFilePath
Create missing folders of file path