eZ\Publish\Core\REST\Server\Service\ExpressionRouterRootResourceBuilder::__construct PHP Method

__construct() public method

Creates a new resource builder.
public __construct ( Symfony\Component\Routing\RouterInterface $router, Symfony\Component\Routing\RouterInterface $templateRouter, array $resourceConfig )
$router Symfony\Component\Routing\RouterInterface
$templateRouter Symfony\Component\Routing\RouterInterface
$resourceConfig array
    public function __construct(RouterInterface $router, RouterInterface $templateRouter, array $resourceConfig)
    {
        $this->router = $router;
        $this->templateRouter = $templateRouter;
        $this->resourceConfig = $resourceConfig;
    }
ExpressionRouterRootResourceBuilder