public function __construct(Router $router, Handler $handler) { $this->router = $router; $this->handler = $handler; }