Documentation

Api implements ContainerAwareInterface Uses ContainerAwareTrait, ToSchemaJsonTrait

Interfaces, Classes and Traits

ContainerAwareInterface

Table of Contents

$type  : string
$container  : Container
$resources  : ResourceBag
container()  : void
created()  : void
getAction()  : Action
getResource()  : Resource
getSchemaJson()  : array<string|int, mixed>
request()  : mixed
requestFromInput()  : mixed
toSchemaJson()  : array<string|int, mixed>
resources()  : void

Properties

$type

public static string $type

Methods

created()

public created() : void
Return values
void

getAction()

public getAction(string $resourceType, string $actionName) : Action
Parameters
$resourceType : string
$actionName : string
Return values
Action

getResource()

public getResource(string $resourceType) : Resource
Parameters
$resourceType : string
Return values
Resource

request()

public request(Closure $callback) : mixed
Parameters
$callback : Closure
Return values
mixed

requestFromInput()

public requestFromInput() : mixed
Return values
mixed

toSchemaJson()

public toSchemaJson() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results