PHP 클래스 Knp\Bundle\KnpBundlesBundle\Finder\Github

상속: implements Knp\Bundle\KnpBundlesBundle\Finder\FinderInterface
파일 보기 프로젝트 열기: KnpLabs/KnpBundles 1 사용 예제들

공개 메소드들

메소드 설명
__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