/** * Constructor. * * @param ObjectConfig $config Configuration options */ public function __construct(ObjectConfig $config) { parent::__construct($config); $this->_secret = $config->secret; $this->_max_age = $config->max_age; $this->_check_user = $config->check_user; $this->_check_age = $config->check_age; $this->_check_expire = $config->check_expire; }