Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2079eb5

Browse filesBrowse files
committed
add SessionFactoryInterface
1 parent ff54513 commit 2079eb5
Copy full SHA for 2079eb5

File tree

Expand file treeCollapse file tree

2 files changed

+21
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+21
-1
lines changed

‎src/Symfony/Component/HttpFoundation/Session/SessionFactory.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Session/SessionFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class_exists(Session::class);
2020
/**
2121
* @author Jérémy Derussé <jeremy@derusse.com>
2222
*/
23-
class SessionFactory
23+
class SessionFactory implements SessionFactoryInterface
2424
{
2525
private $requestStack;
2626
private $storageFactory;
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Component\HttpFoundation\Session;
13+
14+
/**
15+
* @author Kevin Bond <kevinbond@gmail.com>
16+
*/
17+
interface SessionFactoryInterface
18+
{
19+
public function createSession(): SessionInterface;
20+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.