public function delete($key)
{
if ($this->contains($key)) {
unset($_SESSION[$this->namespace][$key]);
}
}
/** * 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')); }