PHP Класс Knp\Bundle\KnpBundlesBundle\Manager\OwnerManager

Автор: Romain Pouclet ([email protected])
Автор: Joseph Bielawski ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Doctrine\Common\Persistence\ObjectManager $entityManager, Github\Client $github )
createOwner ( string $ownerName, string $entityType = 'developer', boolean $flushEntities = true ) : boolean | Owner
findDeveloperBy ( array $data ) : null | Developer
findOrganizationBy ( array $data ) : null | Organization
findOwnerBy ( array $data ) : null | Owner
getApiByOwnerName ( string $ownerName ) : boolean | Knp\Bundle\KnpBundlesBundle\Github\OwnerInterface

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

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

public __construct ( Doctrine\Common\Persistence\ObjectManager $entityManager, Github\Client $github )
$entityManager Doctrine\Common\Persistence\ObjectManager
$github Github\Client

createOwner() публичный Метод

public createOwner ( string $ownerName, string $entityType = 'developer', boolean $flushEntities = true ) : boolean | Owner
$ownerName string
$entityType string
$flushEntities boolean
Результат boolean | Knp\Bundle\KnpBundlesBundle\Entity\Owner

findDeveloperBy() публичный Метод

public findDeveloperBy ( array $data ) : null | Developer
$data array
Результат null | Knp\Bundle\KnpBundlesBundle\Entity\Developer

findOrganizationBy() публичный Метод

public findOrganizationBy ( array $data ) : null | Organization
$data array
Результат null | Knp\Bundle\KnpBundlesBundle\Entity\Organization

findOwnerBy() публичный Метод

public findOwnerBy ( array $data ) : null | Owner
$data array
Результат null | Knp\Bundle\KnpBundlesBundle\Entity\Owner

getApiByOwnerName() публичный Метод

public getApiByOwnerName ( string $ownerName ) : boolean | Knp\Bundle\KnpBundlesBundle\Github\OwnerInterface
$ownerName string
Результат boolean | Knp\Bundle\KnpBundlesBundle\Github\OwnerInterface