PHP Класс WellCommerce\Bundle\DoctrineBundle\Manager\Manager

Автор: Adam Piotrowski ([email protected])
Наследование: implements WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface
Показать файл Открыть проект

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

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