protected function getMigrationsConfig()
    {
        $dir = $this->getPackageDir();

        // specific location
        if ($migrations = $this->getPackageOptionFile('anime-db-migrations')) {
            return $dir.$migrations;
        }

        if (file_exists($dir.'migrations.yml')) {
            return $dir.'migrations.yml';
        } elseif (file_exists($dir.'migrations.xml')) {
            return $dir.'migrations.xml';
        }

        return;
    }
protected function getMigrationsConfig()
    {
        $dir = $this->getPackageDir();

        // specific location
        if ($migrations = $this->getPackageOptionFile('anime-db-migrations')) {
            return $dir.$migrations;
        }

        if (file_exists($dir.'migrations.yml')) {
            return $dir.'migrations.yml';
        } elseif (file_exists($dir.'migrations.xml')) {
            return $dir.'migrations.xml';
        }

        return;
    }
protected function getMigrationsConfig ( ) { $ dir = $ this -> getPackageDir ( ) ; // specific location if ( $ migrations = $ this -> getPackageOptionFile ( 'anime-db-migrations' ) ) { return $ dir . $ migrations ; } if ( file_exists ( $ dir . 'migrations.yml' ) ) { return $ dir . 'migrations.yml' ; } elseif ( file_exists ( $ dir . 'migrations.xml' ) ) { return $ dir . 'migrations.xml' ; } return ; }
Get path to migrations config file from package.

@return string|null
Get path to migrations config file from package .