src/Core/Migration/MigrationHandler.php
protected function _getClassNameFromFilePath($sFilePath)
    {
        $sFileName = basename($sFilePath);
        $aMatches = array();

        if (!preg_match(AbstractQuery::REGEXP_FILE, $sFileName, $aMatches)) {
            throw new MigrationException('Could not extract class name from file name');
        }

        return $aMatches[2] . 'migration';
    }
protected function _getClassNameFromFilePath($sFilePath)
    {
        $sFileName = basename($sFilePath);
        $aMatches = array();

        if (!preg_match(AbstractQuery::REGEXP_FILE, $sFileName, $aMatches)) {
            throw new MigrationException('Could not extract class name from file name');
        }

        return $aMatches[2] . 'migration';
    }
protected function _getClassNameFromFilePath ( $ sFilePath ) { $ sFileName = basename ( $ sFilePath ) ; $ aMatches = array ( ) ; if ( ! preg_match ( AbstractQuery :: REGEXP_FILE , $ sFileName , $ aMatches ) ) { throw new MigrationException ( 'Could not extract class name from file name' ) ; } return $ aMatches [ 2 ] . 'migration' ; }
Get migration queries class name parsed from file path

@param string $sFilePath The path of the file to extract the class name from

@throws MigrationException

@return string Class name in lower case most cases
Get migration queries class name parsed from file path