/** * Constructor. * * @param SessionStorageInterface $sessionStorage * @param string $storageKey The key used to store attributes in the session */ public function __construct(SessionStorageInterface $sessionStorage, $storageKey = '_sf2_attributes') { parent::__construct($storageKey); $this->sessionStorage = $sessionStorage; }