Пример #1
0
 public function testCanUnsetWithMethodCall()
 {
     $this->access->set('methodCall', true);
     $this->session->remove('methodCall');
     $this->assertFalse($this->session->has('methodCall'));
 }
Пример #2
0
 /**
  * Sets name to the given value
  *
  * @param string $name
  * @param mixed $value
  * @return $this
  */
 public function set($name, $value)
 {
     $this->access->set($name, $value);
     return $this;
 }