Documentation

StdResourceCollection extends ResourceCollection
in package

Table of Contents

$asRoot  : bool
If this property is true the response will contain only the collection (and not the success and errors parameters)
__construct()  : mixed

Properties

$asRoot

If this property is true the response will contain only the collection (and not the success and errors parameters)

protected bool $asRoot

Methods

__construct()

public __construct( $resource[, bool $asRoot = false ]) : mixed
Parameters
$resource :
$asRoot : bool = false
Return values
mixed

Search results