PHP Интерфейс WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface

Автор: Adam Piotrowski ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

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

Описание методов

createResource() публичный Метод

Persists new resource
public createResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true )
$resource WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
$flush boolean

getDoctrineHelper() публичный Метод

Returns the helper for Doctrine calls
public getDoctrineHelper ( ) : WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
Результат WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

getEntityManager() публичный Метод

Returns the Doctrine manager
public getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
Результат Doctrine\Common\Persistence\ObjectManager

getFactory() публичный Метод

Returns the factory
public getFactory ( ) : WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface
Результат WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface

getRepository() публичный Метод

Returns the repository
public getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface
Результат WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface

initResource() публичный Метод

Initializes new resource object
public initResource ( ) : WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
Результат WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface

removeResource() публичный Метод

Removes a resource
public removeResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true )
$resource WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
$flush boolean

updateResource() публичный Метод

Updates existing resource
public updateResource ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $resource, boolean $flush = true )
$resource WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface
$flush boolean