public function __construct($session = array()) { parent::__construct($session); $this->heap = isset($_SESSION) ? $_SESSION : $session; }