Beta version

class NodeTypeApi extends AbstractApi

Class NodeTypeApi.

Methods

__construct(Container $container)

No description

getRepository()

Return entity path for current API.

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

in AbstractApi at line 52
__construct(Container $container)

Parameters

Container $container

at line 44
NodeTypeRepository getRepository()

Return entity path for current API.

Return Value

NodeTypeRepository

at line 52
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

at line 59
mixed getOneBy(array $criteria, array $order = null)

Return one entity matching criteria array.

Parameters

array $criteria
array $order

Return Value

mixed

at line 66
int countBy(array $criteria)

Count entities matching criteria array.

Parameters

array $criteria

Return Value

int