Méthode | Description | |
---|---|---|
__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 ) |
Méthode | Description | |
---|---|---|
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 | ||
Résultat | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |
public getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager | ||
Résultat | Doctrine\Common\Persistence\ObjectManager |
public getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface | ||
Résultat | WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface |
public getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface | ||
Résultat | WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface |
public initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | ||
Résultat | 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 |