class NodeTypeApi extends AbstractApi (View source)

Class NodeTypeApi.

Properties

protected Container $container DI container from AbstractApi

Methods

__construct(Container $container)

No description

EntityRepository
getRepository()

No description

array|Paginator
getBy(array $criteria, array $order = null)

Return an array of entities matching criteria array.

mixed
getOneBy(array $criteria, array $order = null)

Return one entity matching criteria array.

int
countBy(array $criteria)

Count entities matching criteria array.

Details

__construct(Container $container)

Parameters

Container $container

EntityRepository getRepository()

Return Value

EntityRepository

array|Paginator getBy(array $criteria, array $order = null)

Return an array of entities matching criteria array.

Parameters

array $criteria
array $order

Return Value

array|Paginator

mixed getOneBy(array $criteria, array $order = null)

Return one entity matching criteria array.

Parameters

array $criteria
array $order

Return Value

mixed

int countBy(array $criteria)

Count entities matching criteria array.

Parameters

array $criteria

Return Value

int