Свойство | Type | Description | |
---|---|---|---|
$client | Guzzle\Http\Client | ||
$text |
Méthode | Description | |
---|---|---|
__construct ( PUGX\Badge\Model\PackageRepositoryInterface $packageRepository, Guzzle\Http\Client $client ) | ||
createGitattributesBadge ( string $repository, string $format = 'svg' ) : PUGX\Badge\Model\Badge |
Méthode | 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 | |
Résultat | PUGX\Badge\Model\Badge |