/**
  * Performs ini_set for all of the config options so they can be read by session_start
  *
  * @return void
  */
 private function initIniOptions()
 {
     foreach ($this->sessionConfig->getOptions() as $option => $value) {
         $result = ini_set($option, $value);
         if ($result === false) {
             $error = error_get_last();
             throw new \InvalidArgumentException(sprintf('"%s" is not a valid sessions-related ini setting. %s', $option, $error['message']));
         }
     }
 }
 /**
  * Performs ini_set for all of the config options so they can be read by session_start
  *
  * @return void
  */
 private function initIniOptions()
 {
     foreach ($this->sessionConfig->getOptions() as $option => $value) {
         $result = ini_set($option, $value);
         if ($result === false) {
             $error = error_get_last();
             throw new \InvalidArgumentException(sprintf('Failed to set ini option "%s" to value "%s". %s', $option, $value, $error['message']));
         }
     }
 }