Метод | Описание | |
---|---|---|
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 | ||
Результат | 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 $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 |