|
|
@@ -26,6 +26,7 @@ class ComponentContainer |
|
|
|
protected NumberComponent $numberComponent; |
|
|
|
protected PointLocationComponent $pointLocationComponent; |
|
|
|
protected StringComponent $stringComponent; |
|
|
|
protected ArrayComponent $arrayComponent; |
|
|
|
|
|
|
|
public function __construct( |
|
|
|
CitiesComponent $citiesComponent, |
|
|
@@ -37,7 +38,8 @@ class ComponentContainer |
|
|
|
MetaComponent $metaComponent, |
|
|
|
NumberComponent $numberComponent, |
|
|
|
PointLocationComponent $pointLocationComponent, |
|
|
|
StringComponent $stringComponent |
|
|
|
StringComponent $stringComponent, |
|
|
|
ArrayComponent $arrayComponent |
|
|
|
) { |
|
|
|
$this->citiesComponent = $citiesComponent; |
|
|
|
$this->cookieComponent = $cookieComponent; |
|
|
@@ -49,6 +51,7 @@ class ComponentContainer |
|
|
|
$this->numberComponent = $numberComponent; |
|
|
|
$this->pointLocationComponent = $pointLocationComponent; |
|
|
|
$this->stringComponent = $stringComponent; |
|
|
|
$this->arrayComponent = $arrayComponent; |
|
|
|
} |
|
|
|
|
|
|
|
public function getCitiesComponent(): CitiesComponent |
|
|
@@ -100,4 +103,9 @@ class ComponentContainer |
|
|
|
{ |
|
|
|
return $this->stringComponent; |
|
|
|
} |
|
|
|
|
|
|
|
public function getArrayComponent(): ArrayComponent |
|
|
|
{ |
|
|
|
return $this->arrayComponent; |
|
|
|
} |
|
|
|
} |