Methods summary
public
|
#
__construct( array $data )
Parameters
- $data
- Class depdendencies.
|
public
boolean
|
#
pathResolvable( Pimple\Container $container )
Determine if the URI path resolves to an object.
Determine if the URI path resolves to an object.
Parameters
- $container
- A DI (Pimple) container.
Returns
boolean
|
public
Psr\Http\Message\ResponseInterface
|
#
__invoke( Pimple\Container $container, Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response )
Parameters
- $container
- A DI (Pimple) container.
- $request
- A PSR-7 compatible Request instance.
- $response
- A PSR-7 compatible Response instance.
Returns
Psr\Http\Message\ResponseInterface
|
protected
Charcoal\Cms\NewsInterface
|
#
loadNewsFromPath( Pimple\Container $container )
Parameters
- $container
- Pimple DI container.
Returns
|