Ejemplo n.º 1
0
 private function readCrumbs()
 {
     if ($this->cookies->hasKey(self::BREADCRUMB_COOKIE)) {
         return $this->cookies->read(self::BREADCRUMB_COOKIE)->payload;
     }
     return [];
 }
Ejemplo n.º 2
0
 protected function readBreadcrumbs()
 {
     if ($this->cookies->hasKey(self::BREADCRUMB_COOKIE)) {
         return $this->cookies->read(self::BREADCRUMB_COOKIE)->payload;
     }
     return [];
 }
Ejemplo n.º 3
0
 private function givenThereAreNoSavedCrumbs()
 {
     Mockster::stub($this->cookies->hasKey(ExecuteResource::BREADCRUMB_COOKIE))->will()->return_(false);
 }