|
| | __invoke (Request $request, Response $response, $args) |
| |
| | __construct (protected \Slim\App $app, protected ContainerInterface $container, protected FactoryInterface $factory, protected EncoderInterface $encoder, protected SchemaContainerInterface $schemaContainer, protected QueryParserInterface $queryParser, protected ResponseFactoryInterface $responseFactory, HeaderParametersParserInterface $headerParametersParser) |
| |
| | getUser (Request $request) |
| |
|
| | validateResourceDocument ($json, $data) |
| |
| | createMessageFromJSON (\User $user, array $json) |
| |
| | createMessage (\User $sender, array $recipients, string $subject, string $body, ?array $tags=null, ?string $answerTo=null) |
| |
| | getCodeResponse (int $statusCode, array $headers=[]) |
| |
| | getMetaResponse ($meta, $statusCode=ResponsesInterface::HTTP_OK, array $headers=[]) |
| |
| | getContentResponse ( $data, $statusCode=ResponsesInterface::HTTP_OK, $links=[], $meta=[], array $headers=[]) |
| |
| | getIdentifiersResponse ($data, $links=[], $meta=[], array $headers=[]) |
| |
| | getPaginatedIdentifiersResponse ( $data, $total, $links=[], $meta=[], array $headers=[]) |
| |
| | getCreatedResponse ($resource, $links=[], $meta=[], array $headers=[]) |
| |
| | getPaginatedContentResponse ( $data, $total, $statusCode=ResponsesInterface::HTTP_OK, $links=[], $meta=[], array $headers=[]) |
| |
| | getQueryParameters () |
| |
| | getOffsetAndLimit ($offsetDefault=0, $limitDefault=30) |
| |
| | getSchema ($resource) |
| |
| | getResponses (array $links=[], array $meta=[]) |
| |
◆ __invoke()
| __invoke |
( |
Request |
$request, |
|
|
Response |
$response, |
|
|
|
$args |
|
) |
| |
◆ createMessage()
| createMessage |
( |
\User |
$sender, |
|
|
array |
$recipients, |
|
|
string |
$subject, |
|
|
string |
$body, |
|
|
?array |
$tags = null, |
|
|
?string |
$answerTo = null |
|
) |
| |
|
protected |
◆ createMessageFromJSON()
| createMessageFromJSON |
( |
\User |
$user, |
|
|
array |
$json |
|
) |
| |
|
protected |
◆ validateResourceDocument()
| validateResourceDocument |
( |
|
$json, |
|
|
|
$data |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: