PHP 인터페이스 WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface

저자: Adam Piotrowski ([email protected])
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 0 사용 예제들

공개 메소드들

메소드 설명
createResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true ) Persists new resource
getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface Returns the helper for Doctrine calls
getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager Returns the Doctrine manager
getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface Returns the factory
getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface Returns the repository
initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface Initializes new resource object
removeResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true ) Removes a resource
updateResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true ) Updates existing resource

메소드 상세

createResource() 공개 메소드

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

getDoctrineHelper() 공개 메소드

Returns the helper for Doctrine calls
public getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
리턴 WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

getEntityManager() 공개 메소드

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

getFactory() 공개 메소드

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

getRepository() 공개 메소드

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

initResource() 공개 메소드

Initializes new resource object
public initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
리턴 WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface

removeResource() 공개 메소드

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

updateResource() 공개 메소드

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