Methods summary
public
|
#
__construct( array $data )
Create new script route (CLI)
Create new script route (CLI)
Dependencies
Required
config — ScriptRouteConfig
Optional
Parameters
|
public
Charcoal\App\Route\ScriptRouteConfig
|
#
createConfig( mixed|null $data = null )
ConfigurableTrait > create_config()
ConfigurableTrait > create_config()
Parameters
- $data
- Optional config data.
Returns
|
public
Psr\Http\Message\ResponseInterface
|
#
__invoke( Pimple\Container $container, Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response )
Parameters
- $container
- A dependencies container.
- $request
- A PSR-7 compatible Request instance.
- $response
- A PSR-7 compatible Response instance.
Returns
Psr\Http\Message\ResponseInterface
Implementation of
|