public function __construct(Bootstrap $bootstrap) { $this->bootstrap = $bootstrap; $this->exit = function () { exit; }; }