@@ 42-55 (lines=14) @@ | ||
39 | * @param string[] $formats |
|
40 | * @param string $defaultFormat |
|
41 | */ |
|
42 | public function __construct( |
|
43 | FileLocatorInterface $locator, |
|
44 | RestRouteProcessor $processor, |
|
45 | $includeFormat = true, |
|
46 | array $formats = [], |
|
47 | $defaultFormat = null |
|
48 | ) { |
|
49 | parent::__construct($locator); |
|
50 | ||
51 | $this->processor = $processor; |
|
52 | $this->includeFormat = $includeFormat; |
|
53 | $this->formats = $formats; |
|
54 | $this->defaultFormat = $defaultFormat; |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * {@inheritdoc} |
@@ 42-55 (lines=14) @@ | ||
39 | * @param string[] $formats |
|
40 | * @param string $defaultFormat |
|
41 | */ |
|
42 | public function __construct( |
|
43 | FileLocatorInterface $locator, |
|
44 | RestRouteProcessor $processor, |
|
45 | $includeFormat = true, |
|
46 | array $formats = [], |
|
47 | $defaultFormat = null |
|
48 | ) { |
|
49 | parent::__construct($locator); |
|
50 | ||
51 | $this->processor = $processor; |
|
52 | $this->includeFormat = $includeFormat; |
|
53 | $this->formats = $formats; |
|
54 | $this->defaultFormat = $defaultFormat; |
|
55 | } |
|
56 | ||
57 | /** |
|
58 | * {@inheritdoc} |