@@ 28-49 (lines=22) @@ | ||
25 | /** |
|
26 | * @package Limoncello\Core |
|
27 | */ |
|
28 | class CharCountBased extends \FastRoute\Dispatcher\CharCountBased implements DispatcherInterface |
|
29 | { |
|
30 | use DispatcherTrait; |
|
31 | ||
32 | /** @noinspection PhpMissingParentConstructorInspection |
|
33 | * Constructor. |
|
34 | */ |
|
35 | public function __construct() |
|
36 | { |
|
37 | assert($this->areCodeValid() === true); |
|
38 | ||
39 | // Suppress parent constructor. Use `setData` instead. |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @inheritdoc |
|
44 | */ |
|
45 | public function setData(array $data): void |
|
46 | { |
|
47 | list($this->staticRouteMap, $this->variableRouteData) = $data; |
|
48 | } |
|
49 | } |
|
50 |
@@ 28-49 (lines=22) @@ | ||
25 | /** |
|
26 | * @package Limoncello\Core |
|
27 | */ |
|
28 | class GroupCountBased extends \FastRoute\Dispatcher\GroupCountBased implements DispatcherInterface |
|
29 | { |
|
30 | use DispatcherTrait; |
|
31 | ||
32 | /** @noinspection PhpMissingParentConstructorInspection |
|
33 | * Constructor. |
|
34 | */ |
|
35 | public function __construct() |
|
36 | { |
|
37 | assert($this->areCodeValid() === true); |
|
38 | ||
39 | // Suppress parent constructor. Use `setData` instead. |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @inheritdoc |
|
44 | */ |
|
45 | public function setData(array $data): void |
|
46 | { |
|
47 | list($this->staticRouteMap, $this->variableRouteData) = $data; |
|
48 | } |
|
49 | } |
|
50 |
@@ 28-49 (lines=22) @@ | ||
25 | /** |
|
26 | * @package Limoncello\Core |
|
27 | */ |
|
28 | class GroupPosBased extends \FastRoute\Dispatcher\GroupPosBased implements DispatcherInterface |
|
29 | { |
|
30 | use DispatcherTrait; |
|
31 | ||
32 | /** @noinspection PhpMissingParentConstructorInspection |
|
33 | * Constructor. |
|
34 | */ |
|
35 | public function __construct() |
|
36 | { |
|
37 | assert($this->areCodeValid() === true); |
|
38 | ||
39 | // Suppress parent constructor. Use `setData` instead. |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @inheritdoc |
|
44 | */ |
|
45 | public function setData(array $data): void |
|
46 | { |
|
47 | list($this->staticRouteMap, $this->variableRouteData) = $data; |
|
48 | } |
|
49 | } |
|
50 |
@@ 28-49 (lines=22) @@ | ||
25 | /** |
|
26 | * @package Limoncello\Core |
|
27 | */ |
|
28 | class MarkBased extends \FastRoute\Dispatcher\MarkBased implements DispatcherInterface |
|
29 | { |
|
30 | use DispatcherTrait; |
|
31 | ||
32 | /** @noinspection PhpMissingParentConstructorInspection |
|
33 | * Constructor. |
|
34 | */ |
|
35 | public function __construct() |
|
36 | { |
|
37 | assert($this->areCodeValid() === true); |
|
38 | ||
39 | // Suppress parent constructor. Use `setData` instead. |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @inheritdoc |
|
44 | */ |
|
45 | public function setData(array $data): void |
|
46 | { |
|
47 | list($this->staticRouteMap, $this->variableRouteData) = $data; |
|
48 | } |
|
49 | } |
|
50 |