Fenos\Notifynder\NotifynderServiceProvider::migrationFilepath PHP Method

migrationFilepath() protected method

protected migrationFilepath ( string $filename ) : string
$filename string
return string
    protected function migrationFilepath($filename)
    {
        if (function_exists('database_path')) {
            return database_path('/migrations/' . $filename);
        } else {
            return base_path('/database/migrations/' . $filename);
        }
    }