PHP Class PUGX\Badge\Model\UseCase\CreateGitattributesBadge

Inheritance: extends BaseCreatePackagistImage
Afficher le fichier Open project: pugx/badge-poser

Protected Properties

Свойство Type Description
$client Guzzle\Http\Client
$text

Méthodes publiques

Méthode Description
__construct ( PUGX\Badge\Model\PackageRepositoryInterface $packageRepository, Guzzle\Http\Client $client )
createGitattributesBadge ( string $repository, string $format = 'svg' ) : PUGX\Badge\Model\Badge

Méthodes protégées

Méthode Description
prepareText ( $package, $context = null )

Method Details

__construct() public méthode

public __construct ( PUGX\Badge\Model\PackageRepositoryInterface $packageRepository, Guzzle\Http\Client $client )
$packageRepository PUGX\Badge\Model\PackageRepositoryInterface
$client Guzzle\Http\Client

createGitattributesBadge() public méthode

public createGitattributesBadge ( string $repository, string $format = 'svg' ) : PUGX\Badge\Model\Badge
$repository string
$format string
Résultat PUGX\Badge\Model\Badge

prepareText() protected méthode

protected prepareText ( $package, $context = null )

Property Details

$client protected_oe property

protected Client,Guzzle\Http $client
Résultat Guzzle\Http\Client

$text protected_oe property

protected $text