PHP Interface Aerys\Bootable

Datei anzeigen Open project: amphp/aerys

Public Methods

Method Description
boot ( Server $server, Psr\Log\LoggerInterface $logger ) : aerys\Middleware | callable | null

Method Details

boot() public method

public boot ( Server $server, Psr\Log\LoggerInterface $logger ) : aerys\Middleware | callable | null
$server Server
$logger Psr\Log\LoggerInterface
return aerys\Middleware | callable | null to be used instead of the class implementing Bootable (which may also implement Middleware and/or be callable)