PHP Class Knp\Bundle\KnpBundlesBundle\Github\Owner

Inheritance: implements OwnerInterface
Datei anzeigen Open project: KnpLabs/KnpBundles

Protected Properties

Property Type Description
$github Github\Client php-github-api instance used to request GitHub API
$output Symfony\Component\Console\Output\OutputInterface Output buffer

Public Methods

Method Description
__construct ( Github\Client $github, Symfony\Component\Console\Output\OutputInterface $output )
getGithubClient ( ) : Github\Client Get github
getOutput ( ) : Symfony\Component\Console\Output\OutputInterface Get output
setGithubClient ( Github\Client $github ) Set github
setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) Set output

Protected Methods

Method Description
updateOwner ( Owner $owner, array $data )

Private Methods

Method Description
fixUrl ( string $url ) : string Fixes url.

Method Details

__construct() public method

public __construct ( Github\Client $github, Symfony\Component\Console\Output\OutputInterface $output )
$github Github\Client
$output Symfony\Component\Console\Output\OutputInterface

getGithubClient() public method

Get github
public getGithubClient ( ) : Github\Client
return Github\Client

getOutput() public method

Get output
public getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
return Symfony\Component\Console\Output\OutputInterface

setGithubClient() public method

Set github
public setGithubClient ( Github\Client $github )
$github Github\Client

setOutput() public method

Set output
public setOutput ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

updateOwner() protected method

protected updateOwner ( Owner $owner, array $data )
$owner Knp\Bundle\KnpBundlesBundle\Entity\Owner
$data array

Property Details

$github protected_oe property

php-github-api instance used to request GitHub API
protected Client,Github $github
return Github\Client

$output protected_oe property

Output buffer
protected OutputInterface,Symfony\Component\Console\Output $output
return Symfony\Component\Console\Output\OutputInterface