original_string: 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_'];
      }
code: 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_'];
      }
code_tokens: 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_' ] ; }
docstring: Get the migration path.
  
  @param array $config
  @param bool  $relative
  
  @return string
docstring_tokens: Get the migration path .