Метод | Описание | |
---|---|---|
__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 ) |
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 |
public createResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true ) | ||
$entity | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | |
$flush | boolean |
public getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | ||
Результат | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |
public getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager | ||
Результат | Doctrine\Common\Persistence\ObjectManager |
public getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface | ||
Результат | WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface |
public getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface | ||
Результат | WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface |
public initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | ||
Результат | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface |
public removeResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true ) | ||
$entity | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | |
$flush | boolean |
public updateResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity, boolean $flush = true ) | ||
$entity | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | |
$flush | boolean |