コード例 #1
0
ファイル: SessionTest.php プロジェクト: deltasystems/dewdrop
 public function testCanSetUsingMagicProperty()
 {
     $this->session->testMagicProperty = true;
     $this->assertTrue($this->access->get('testMagicProperty'));
 }
コード例 #2
0
ファイル: Session.php プロジェクト: deltasystems/dewdrop
 /**
  * Returns value for given name
  *
  * @param string $name
  * @return mixed
  */
 public function get($name)
 {
     return $this->access->get($name);
 }