1 | <?php |
||
37 | class ExpressionRouterRootResourceBuilder implements RootResourceBuilderInterface |
||
38 | { |
||
39 | /** |
||
40 | * @var \Symfony\Component\Routing\RouterInterface |
||
41 | */ |
||
42 | protected $router; |
||
43 | |||
44 | /** |
||
45 | * @var \Symfony\Component\Routing\RouterInterface |
||
46 | */ |
||
47 | protected $templateRouter; |
||
48 | |||
49 | /** |
||
50 | * @var array |
||
51 | */ |
||
52 | protected $resourceConfig; |
||
53 | |||
54 | /** |
||
55 | * Creates a new resource builder. |
||
56 | * |
||
57 | * @param \Symfony\Component\Routing\RouterInterface $router |
||
58 | * @param \Symfony\Component\Routing\RouterInterface $templateRouter |
||
59 | * @param array $resourceConfig |
||
60 | */ |
||
61 | public function __construct(RouterInterface $router, RouterInterface $templateRouter, array $resourceConfig) |
||
67 | |||
68 | /** |
||
69 | * Build root resource. |
||
70 | * |
||
71 | * @return array|\eZ\Publish\Core\REST\Common\Values\Root |
||
72 | */ |
||
73 | public function buildRootResource() |
||
91 | } |
||
92 |