/** @inheritdoc */ public function __construct(array $settings = []) { $this->_request = IfSet::get($settings, 'request', Request::createFromGlobals()); $this->_response = IfSet::get($settings, 'response', Response::create()); $this->_container = null; parent::__construct($settings); }