private function getMigrationsPath($config, $relative = false)
    {
        $this->fileService->mkdir($config['_path_migrations_'], 0777, true);

        if ($relative) {
            return str_replace(base_path(), '', $config['_path_migrations_']);
        }

        return $config['_path_migrations_'];
    }
private function getMigrationsPath($config, $relative = false)
    {
        $this->fileService->mkdir($config['_path_migrations_'], 0777, true);

        if ($relative) {
            return str_replace(base_path(), '', $config['_path_migrations_']);
        }

        return $config['_path_migrations_'];
    }
private function getMigrationsPath ( $ config , $ relative = false ) { $ this -> fileService -> mkdir ( $ config [ '_path_migrations_' ] , 0777 , true ) ; if ( $ relative ) { return str_replace ( base_path ( ) , '' , $ config [ '_path_migrations_' ] ) ; } return $ config [ '_path_migrations_' ] ; }
Get the migration path.

@param array $config
@param bool  $relative

@return string
Get the migration path .