Method | Description | |
---|---|---|
__construct ( Auryn\Injector $injector = null, Equip\Configuration\ConfigurationSet $configuration = null, |
||
build ( Auryn\Injector $injector = null, Equip\Configuration\ConfigurationSet $configuration = null, |
Create a new application | |
run ( string $runner = Relay::class ) : Psr\Http\Message\ResponseInterface | Run the application | |
setConfiguration ( array $configuration ) : self | Change configuration values | |
setMiddleware ( array $middleware ) : self | Change middleware | |
setRouting ( callable | string $routing ) : self | Change routing |
public __construct ( Auryn\Injector $injector = null, Equip\Configuration\ConfigurationSet $configuration = null, |
||
$injector | Auryn\Injector | |
$configuration | Equip\Configuration\ConfigurationSet | |
$middleware |
public static build ( Auryn\Injector $injector = null, Equip\Configuration\ConfigurationSet $configuration = null, |
||
$injector | Auryn\Injector | |
$configuration | Equip\Configuration\ConfigurationSet | |
$middleware | ||
return | static |
public setConfiguration ( array $configuration ) : self | ||
$configuration | array | |
return | self |
public setMiddleware ( array $middleware ) : self | ||
$middleware | array | |
return | self |
public setRouting ( callable | string $routing ) : self | ||
$routing | callable | string | |
return | self |