PHP Класс Knp\Bundle\KnpBundlesBundle\Finder\Github

Наследование: implements Knp\Bundle\KnpBundlesBundle\Finder\FinderInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Github\Client $github, null $query = null, null $forkedRepoQuery = null, integer $limit = 300 )
find ( ) : array Finds the repositories

Защищенные методы

Метод Описание
extractUrlRepository ( string $url ) : string Returns the github repository extracted from the given URL
fetchRepositoryApi ( $repositoryApi, $query )

Описание методов

__construct() публичный Метод

public __construct ( Github\Client $github, null $query = null, null $forkedRepoQuery = null, integer $limit = 300 )
$github Github\Client
$query null
$forkedRepoQuery null
$limit integer

extractUrlRepository() защищенный Метод

Returns the github repository extracted from the given URL
protected extractUrlRepository ( string $url ) : string
$url string
Результат string or NULL if the URL does not contain any repository

fetchRepositoryApi() защищенный Метод

protected fetchRepositoryApi ( $repositoryApi, $query )

find() публичный Метод

Finds the repositories
public find ( ) : array
Результат array