Example #1
0
 public function get($key)
 {
     if (null === ($pk = parent::get($key))) {
         $service = $this->__services[$key]();
         $this->set($key, $service);
     }
     return parent::get($key);
 }
Example #2
0
 public function set($key, $value)
 {
     $this->_isChanged = true;
     return parent::set($key, $value);
 }