Property | Type | Description | |
---|---|---|---|
$client | Guzzle\Http\Client | ||
$text |
Method | Description | |
---|---|---|
__construct ( PUGX\Badge\Model\PackageRepositoryInterface $packageRepository, Guzzle\Http\Client $client ) | ||
createGitattributesBadge ( string $repository, string $format = 'svg' ) : PUGX\Badge\Model\Badge |
Method | Description | |
---|---|---|
prepareText ( $package, $context = null ) |
public __construct ( PUGX\Badge\Model\PackageRepositoryInterface $packageRepository, Guzzle\Http\Client $client ) | ||
$packageRepository | PUGX\Badge\Model\PackageRepositoryInterface | |
$client | Guzzle\Http\Client |
public createGitattributesBadge ( string $repository, string $format = 'svg' ) : PUGX\Badge\Model\Badge | ||
$repository | string | |
$format | string | |
return | PUGX\Badge\Model\Badge |