Introduce Response for Modules to create a testable way for module responses
This commit is contained in:
@@ -48,9 +48,9 @@ class Tos extends BaseModule
|
||||
* be properties of the class, however cannot be set directly as the property
|
||||
* cannot depend on a function result when declaring the variable.
|
||||
**/
|
||||
public function __construct(L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, IManageConfigValues $config, array $server, array $parameters = [])
|
||||
public function __construct(L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, IManageConfigValues $config, array $server, array $parameters = [])
|
||||
{
|
||||
parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $server, $parameters);
|
||||
parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);
|
||||
|
||||
$this->config = $config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user