Beta version

class TagApi extends AbstractApi

Class TagApi.

Methods

__construct(Container $container)

No description

getRepository()

Return entity path for current API.

array
getBy(array $criteria, array $order = null, int $limit = null, int $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 44
TagRepository getRepository()

Return entity path for current API.

Return Value

TagRepository

at line 61
array getBy(array $criteria, array $order = null, int $limit = null, int $offset = null)

Return an array of entities matching criteria array.

Parameters

array $criteria
array $order
int $limit
int $offset

Return Value

array

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 86
int countBy(array $criteria)

Count entities matching criteria array.

Parameters

array $criteria

Return Value

int