PHP 클래스 WellCommerce\Bundle\DoctrineBundle\Manager\Manager

저자: Adam Piotrowski ([email protected])
상속: implements WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

공개 메소드들

메소드 설명
__construct ( WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface $factory = null, WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface $repository = null, WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $helper, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher ) Manager constructor.
createResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true )
getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface
getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface
initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
removeResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true )
updateResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true )

비공개 메소드들

메소드 설명
dispatchEvent ( string $name, WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity )
getEventName ( $class, $name )

메소드 상세

__construct() 공개 메소드

Manager constructor.
public __construct ( WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface $factory = null, WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface $repository = null, WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $helper, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$factory WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface
$repository WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface
$helper WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

createResource() 공개 메소드

public createResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true )
$entity WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
$flush boolean

getDoctrineHelper() 공개 메소드

public getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
리턴 WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

getEntityManager() 공개 메소드

public getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
리턴 Doctrine\Common\Persistence\ObjectManager

getFactory() 공개 메소드

public getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface
리턴 WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface

getRepository() 공개 메소드

public getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface
리턴 WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface

initResource() 공개 메소드

public initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
리턴 WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface

removeResource() 공개 메소드

public removeResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true )
$entity WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
$flush boolean

updateResource() 공개 메소드

public updateResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true )
$entity WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
$flush boolean