public function get($property = null, $defaultValue = null)
{
$defaultCurrentValue = [];
$data = $this->session->get($this->_name, $defaultCurrentValue);
if ($property === null) {
return $data;
} else {
return isset($data[$property]) ? $data[$property] : $defaultValue;
}
}