| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class RouteMetadata |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | private $defaults; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $variables; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param array $defaults |
||
| 30 | * @param array $variables |
||
| 31 | */ |
||
| 32 | 43 | public function __construct(array $defaults, array $variables) |
|
| 33 | { |
||
| 34 | 43 | $this->defaults = $defaults; |
|
| 35 | 43 | $this->variables = $variables; |
|
| 36 | 43 | } |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return array |
||
| 40 | */ |
||
| 41 | 24 | public function getDefaults() |
|
| 42 | { |
||
| 43 | 24 | return $this->defaults; |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | 24 | public function getVariables() |
|
| 52 | } |
||
| 53 | } |
||
| 54 |