PHP 클래스 Knp\Bundle\KnpBundlesBundle\Manager\OwnerManager

저자: Romain Pouclet ([email protected])
저자: Joseph Bielawski ([email protected])
파일 보기 프로젝트 열기: KnpLabs/KnpBundles 1 사용 예제들

공개 메소드들

메소드 설명
__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