public function get($key)
{
if ($this->contains($key)) {
return $_SESSION[$this->namespace][$key];
} else {
return null;
}
}
/** * Complex test for __unset * * @covers \Bluz\Session\Session::delete() */ public function testUnset() { $this->session->set('moo', 'maz'); $this->session->delete('moo'); $this->assertNull($this->session->get('moo')); }