class Frontend

Properties

protected Factory $view
protected Client $api
protected callable[] $content

Methods

__construct(Factory $view, Client $api)

No description

content(callable $content)

No description

document(ServerRequestInterface $request)

No description

populate(Document $document, ServerRequestInterface $request)

No description

Details

__construct(Factory $view, Client $api)

Parameters

Factory $view
Client $api

content(callable $content)

Parameters

callable $content

Document document(ServerRequestInterface $request)

Parameters

ServerRequestInterface $request

Return Value

Document

protected populate(Document $document, ServerRequestInterface $request)

Parameters

Document $document
ServerRequestInterface $request