PHP Класс Knp\Bundle\KnpBundlesBundle\Github\Owner

Наследование: implements OwnerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$github Github\Client php-github-api instance used to request GitHub API
$output Symfony\Component\Console\Output\OutputInterface Output buffer

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
updateOwner ( Owner $owner, array $data )

Приватные методы

Метод Описание
fixUrl ( string $url ) : string Fixes url.

Описание методов

__construct() публичный метод

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

getGithubClient() публичный метод

Get github
public getGithubClient ( ) : Github\Client
Результат Github\Client

getOutput() публичный метод

Get output
public getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
Результат Symfony\Component\Console\Output\OutputInterface

setGithubClient() публичный метод

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

setOutput() публичный метод

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

updateOwner() защищенный метод

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

Описание свойств

$github защищенное свойство

php-github-api instance used to request GitHub API
protected Client,Github $github
Результат Github\Client

$output защищенное свойство

Output buffer
protected OutputInterface,Symfony\Component\Console\Output $output
Результат Symfony\Component\Console\Output\OutputInterface