public MetadataBag::__construct(Settings $settings)
Constructs a new metadata bag instance.
\Drupal\Core\Site\Settings $settings: The settings instance.
Overrides MetadataBag::__construct
public function __construct(Settings $settings) { $update_threshold = $settings->get('session_write_interval', 180); parent::__construct('_sf2_meta', $update_threshold); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!MetadataBag.php/function/MetadataBag::__construct/8.1.x