Lemon\RestBundle\Controller\ResourceController::__construct PHP Method

__construct() public method

public __construct ( Handler $handler, CriteriaFactory $criteriaFactory, Symfony\Component\Routing\RouterInterface $router )
$handler Lemon\RestBundle\Request\Handler
$criteriaFactory Lemon\RestBundle\Object\Criteria\CriteriaFactory
$router Symfony\Component\Routing\RouterInterface
    public function __construct(Handler $handler, CriteriaFactory $criteriaFactory, RouterInterface $router)
    {
        $this->handler = $handler;
        $this->criteriaFactory = $criteriaFactory;
        $this->router = $router;
        $this->response = new Response();
    }