Method | Description | |
---|---|---|
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 |
public createResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true ) | ||
$resource | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | |
$flush | boolean |
public getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | ||
return | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |
public getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager | ||
return | Doctrine\Common\Persistence\ObjectManager |
public getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface | ||
return | WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface |
public getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface | ||
return | WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface |
public initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | ||
return | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface |
public removeResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true ) | ||
$resource | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | |
$flush | boolean |
public updateResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true ) | ||
$resource | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface | |
$flush | boolean |