original_string: public static function getRepositoryDirectories()
      {
          $autoloadDirs = array();
          ezcBase::setPackageDir();
          $repositoryDir = self::$currentWorkingDirectory ? self::$currentWorkingDirectory : ( realpath( dirname( __FILE__ ) . '/../../' ) );
          $autoloadDirs['ezc'] = new ezcBaseRepositoryDirectory( ezcBaseRepositoryDirectory::TYPE_INTERNAL, $repositoryDir, $repositoryDir . "/autoload" );
  
          foreach ( ezcBase::$repositoryDirs as $extraDirKey => $extraDirArray )
          {
              $repositoryDirectory = new ezcBaseRepositoryDirectory( ezcBaseRepositoryDirectory::TYPE_EXTERNAL, realpath( $extraDirArray['basePath'] ), realpath( $extraDirArray['autoloadDirPath'] ) );
              $autoloadDirs[$extraDirKey] = $repositoryDirectory;
          }
  
          return $autoloadDirs;
      }
code: public static function getRepositoryDirectories()
      {
          $autoloadDirs = array();
          ezcBase::setPackageDir();
          $repositoryDir = self::$currentWorkingDirectory ? self::$currentWorkingDirectory : ( realpath( dirname( __FILE__ ) . '/../../' ) );
          $autoloadDirs['ezc'] = new ezcBaseRepositoryDirectory( ezcBaseRepositoryDirectory::TYPE_INTERNAL, $repositoryDir, $repositoryDir . "/autoload" );
  
          foreach ( ezcBase::$repositoryDirs as $extraDirKey => $extraDirArray )
          {
              $repositoryDirectory = new ezcBaseRepositoryDirectory( ezcBaseRepositoryDirectory::TYPE_EXTERNAL, realpath( $extraDirArray['basePath'] ), realpath( $extraDirArray['autoloadDirPath'] ) );
              $autoloadDirs[$extraDirKey] = $repositoryDirectory;
          }
  
          return $autoloadDirs;
      }
code_tokens: public static function getRepositoryDirectories ( ) { $ autoloadDirs = array ( ) ; ezcBase :: setPackageDir ( ) ; $ repositoryDir = self :: $ currentWorkingDirectory ? self :: $ currentWorkingDirectory : ( realpath ( dirname ( __FILE__ ) . '/../../' ) ) ; $ autoloadDirs [ 'ezc' ] = new ezcBaseRepositoryDirectory ( ezcBaseRepositoryDirectory :: TYPE_INTERNAL , $ repositoryDir , $ repositoryDir . "/autoload" ) ; foreach ( ezcBase :: $ repositoryDirs as $ extraDirKey => $ extraDirArray ) { $ repositoryDirectory = new ezcBaseRepositoryDirectory ( ezcBaseRepositoryDirectory :: TYPE_EXTERNAL , realpath ( $ extraDirArray [ 'basePath' ] ) , realpath ( $ extraDirArray [ 'autoloadDirPath' ] ) ) ; $ autoloadDirs [ $ extraDirKey ] = $ repositoryDirectory ; } return $ autoloadDirs ; }
docstring: Return the list of directories that contain class repositories.
  
  The path to the eZ components directory is always included in the result
  array. Each element in the returned array has the format of:
  packageDirectory => ezcBaseRepositoryDirectory
  
  @return array(string=>ezcBaseRepositoryDirectory)
docstring_tokens: Return the list of directories that contain class repositories .