GitHubService
Table of Contents
Properties
-
$client
: HttpClientInterface
Methods
-
__construct()
: mixed
-
getRepositories()
: array<string|int, mixed>
-
getLanguagePercentages()
: array<string|int, mixed>
$client
private
HttpClientInterface
$client
__construct()
public
__construct(HttpClientInterface $client) : mixed
Parameters
-
$client
: HttpClientInterface
-
getRepositories()
public
getRepositories(string $username) : array<string|int, mixed>
Parameters
-
$username
: string
-
Return values
array<string|int, mixed>
getLanguagePercentages()
private
getLanguagePercentages(string $owner, string $repo) : array<string|int, mixed>
Parameters
-
$owner
: string
-
-
$repo
: string
-
Return values
array<string|int, mixed>