public function __construct(Handler $handler, CriteriaFactory $criteriaFactory, RouterInterface $router) { $this->handler = $handler; $this->criteriaFactory = $criteriaFactory; $this->router = $router; $this->response = new Response(); }