Example #1
0
 /**
  * Get sub-Registry
  *
  * @param   string                         $key  Name of index or name-encoded registry array selection, e.g. a.b.c
  * @return  SessionStateInterface|boolean        Sub-Registry or boolean FALSE if not existing or not a set of inputs
  */
 public function subTree($key)
 {
     $input = $this->input->subTree($key);
     $session = $this->session->subTree($this->sessionKeyPrefix . $key);
     /** @var self $subSessionState */
     $subSessionState = new static($session, $input);
     $subSessionState->stateIsForDomain(null);
     return $subSessionState;
 }