Beta version

class NodeApi extends AbstractApi

Class NodeApi.

Methods

__construct(Container $container)

No description

getRepository()

Return entity path for current API.

array|Paginator
getBy(array $criteria, array $order = null, $limit = null, $offset = 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 45
NodeRepository getRepository()

Return entity path for current API.

Return Value

NodeRepository

at line 52
array|Paginator getBy(array $criteria, array $order = null, $limit = null, $offset = null)

Return an array of entities matching criteria array.

Parameters

array $criteria
array $order
$limit
$offset

Return Value

array|Paginator

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

Return one entity matching criteria array.

Parameters

array $criteria
array $order

Return Value

mixed

at line 78
int countBy(array $criteria)

Count entities matching criteria array.

Parameters

array $criteria

Return Value

int