SessionStorageFactoryInterface.php 602 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpFoundation\Session\Storage;
  11. use Symfony\Component\HttpFoundation\Request;
  12. /**
  13. * @author Jérémy Derussé <jeremy@derusse.com>
  14. */
  15. interface SessionStorageFactoryInterface
  16. {
  17. /**
  18. * Creates a new instance of SessionStorageInterface.
  19. */
  20. public function createStorage(?Request $request): SessionStorageInterface;
  21. }