/var/www/flurhymez/vendor/symfony/http-foundation/Session/Storage
NameSizeModeActions
Handler/-0755rm
Proxy/-0755rm
MetadataBag.php36750644editdlrm
MockArraySessionStorage.php50970644editdlrm
MockFileSessionStorage.php40100644editdlrm
MockFileSessionStorageFactory.php11240644editdlrm
NativeSessionStorage.php144590644editdlrm
NativeSessionStorageFactory.php13500644editdlrm
PhpBridgeSessionStorage.php14910644editdlrm
PhpBridgeSessionStorageFactory.php12680644editdlrm
ServiceSessionFactory.php9610644editdlrm
SessionStorageFactoryInterface.php6020644editdlrm
SessionStorageInterface.php38620644editdlrm
Edit: /var/www/flurhymez/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorageFactory.php (1350B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation\Session\Storage; use Symfony\Component\HttpFoundation\Request; // Help opcache.preload discover always-needed symbols class_exists(NativeSessionStorage::class); /** * @author Jérémy Derussé */ class NativeSessionStorageFactory implements SessionStorageFactoryInterface { private $options; private $handler; private $metaBag; private $secure; /** * @see NativeSessionStorage constructor. */ public function __construct(array $options = [], $handler = null, MetadataBag $metaBag = null, bool $secure = false) { $this->options = $options; $this->handler = $handler; $this->metaBag = $metaBag; $this->secure = $secure; } public function createStorage(?Request $request): SessionStorageInterface { $storage = new NativeSessionStorage($this->options, $this->handler, $this->metaBag); if ($this->secure && $request && $request->isSecure()) { $storage->setOptions(['cookie_secure' => true]); } return $storage; } }