\Charcoal\AdminAdminModule

Charcoal Administration Module

Summary

Methods
Properties
Constants
setup()
setupHandlers()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

setup()

setup() : \Charcoal\Admin\AdminModule

Charcoal Administration Setup.

This module is bound to the /admin URL.

Provides

  • charcoal/admin/module An instance of this module
    • Exact type: \Charcoal\Admin\AdminModule
    • which implements \Charcoal\Module\ModuleInterface

Dependencies

  • charcoal/config Provided by \Charcoal\CharcoalModule

Returns

\Charcoal\Admin\AdminModule

setupHandlers()

setupHandlers(\Psr\Http\Message\RequestInterface  $request, \Psr\Http\Message\ResponseInterface  $response, callable  $next) : \Psr\Http\Message\ResponseInterface

Set up the module's handlers, via group middleware.

Parameters

\Psr\Http\Message\RequestInterface $request

A PSR7 request object.

\Psr\Http\Message\ResponseInterface $response

A PSR7 response object.

callable $next

The next callable middleware.

Returns

\Psr\Http\Message\ResponseInterface —

A PSR7 response object.