PHP Class Sulu\Component\Rest\ListBuilder\Doctrine\DoctrineListBuilderFactory

Mostrar archivo Open project: sulu/sulu

Public Methods

Method Description
__construct ( EntityManager $em, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, array $permissions )
create ( $entityName ) : DoctrineListBuilder Creates a new DoctrineListBuilder for the given entity name and returns it.

Method Details

__construct() public method

public __construct ( EntityManager $em, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, array $permissions )
$em Doctrine\ORM\EntityManager
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$permissions array

create() public method

Creates a new DoctrineListBuilder for the given entity name and returns it.
public create ( $entityName ) : DoctrineListBuilder
$entityName
return DoctrineListBuilder