get() публичный Метод

public get ( string $unique ) : mixed | null
$unique string
Результат mixed | null Value, of null if non-existent
Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function get()
 {
     // value was already set on this object, return that one!
     if ($this->value !== null) {
         return $this->value;
     }
     // sanity check
     if (!$this->isHit()) {
         return;
     }
     return $this->repository->get($this->hash);
 }