getRequest()->getSession()->set($id, $state); // This adapter does not require any additional attributes... return []; } /** * Load state for a given ID * * @param string $id * @return array */ public function load($id) { return (array) $this->getRequest()->getSession()->get($id); } }