Endpoint
in package
RestEndpoint
Table of Contents
Properties
- $commandParams : array<string|int, mixed>
- $config : array<string|int, mixed>
- $diContainer : ContainerInterface
Methods
- __construct() : string|null
- Constructor
- run() : void
- Run Command
- getCommand() : CommandInterface
- Get Command
- getResponseRenderer() : RendererInterface
- Get Response Renderer
Properties
$commandParams
protected
array<string|int, mixed>
$commandParams
= []
$config
protected
array<string|int, mixed>
$config
= []
$diContainer
protected
ContainerInterface
$diContainer
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed> $config, array<string|int, mixed> $commandParams, ContainerInterface $diContainer) : string|null
Parameters
- $config : array<string|int, mixed>
- $commandParams : array<string|int, mixed>
- $diContainer : ContainerInterface
Return values
string|nullrun()
Run Command
public
run() : void
getCommand()
Get Command
protected
getCommand() : CommandInterface
Return values
CommandInterfacegetResponseRenderer()
Get Response Renderer
protected
getResponseRenderer() : RendererInterface