original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Get path to migrations config file from package.
  
  @return string|null
docstring_tokens: Get path to migrations config file from package .