1 | <?php |
||
11 | class CurirBreadCrumbsTrail extends BreadCrumbsTrail { |
||
12 | |||
13 | const COOKIE_KEY = 'domin_trail'; |
||
14 | |||
15 | /** @var CookieStore */ |
||
16 | private $cookies; |
||
17 | |||
18 | public function __construct(ParameterReader $reader, CookieStore $cookies) { |
||
22 | |||
23 | public function updateCrumbs(Action $action, $actionId) { |
||
26 | |||
27 | /** |
||
28 | * @param CookieStore $cookies |
||
29 | * @return BreadCrumb[] |
||
30 | */ |
||
31 | private function readCrumbs(CookieStore $cookies) { |
||
39 | |||
40 | /** |
||
41 | * @param BreadCrumb[] $crumbs |
||
42 | * @return BreadCrumb[] |
||
43 | */ |
||
44 | private function saveCrumbs($crumbs) { |
||
53 | } |