Oihana PHP Arango

DocumentsControllerCountTrait uses \oihana\controllers\traits\CheckOwnerArgumentsTrait, \oihana\controllers\traits\HttpCacheTrait, \oihana\models\traits\ModelTrait, \oihana\controllers\traits\OutputDocumentsTrait, \oihana\controllers\traits\PrepareParamTrait, \oihana\controllers\traits\StatusTrait

Table of Contents

Methods

count()  : mixed
Returns the number of documents in the collection.

Methods

count()

Returns the number of documents in the collection.

public count([ServerRequestInterface|null $request = null ][, ResponseInterface|null $response = null ][, array<string|int, mixed> $args = [] ][, array<string|int, mixed> $init = [] ]) : mixed
Parameters
$request : ServerRequestInterface|null = null
$response : ResponseInterface|null = null
$args : array<string|int, mixed> = []

An associative array that contains values for the current route’s named placeholders.

$init : array<string|int, mixed> = []

An optional associative array to initialize the method.

Tags
throws
ContainerExceptionInterface
NotFoundExceptionInterface
On this page

Search results