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 dec416b

Browse filesBrowse files
committed
Mark as private several methods and properties
1 parent abf11af commit dec416b
Copy full SHA for dec416b

File tree

Expand file treeCollapse file tree

4 files changed

+11
-11
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+11
-11
lines changed

‎src/Symfony/Bridge/Doctrine/Security/SessionRegistry/Schema.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Security/SessionRegistry/Schema.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct($table)
3636
/**
3737
* Adds the session_information table to the schema
3838
*/
39-
protected function addSessionInformationTable($table)
39+
private function addSessionInformationTable($table)
4040
{
4141
$table = $this->createTable($table);
4242
$table->addColumn('session_id', 'string');

‎src/Symfony/Bridge/Doctrine/Security/SessionRegistry/SessionRegistryStorage.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Security/SessionRegistry/SessionRegistryStorage.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313
class SessionRegistryStorage implements SessionRegistryStorageInterface
1414
{
15-
protected $connection;
16-
protected $table;
15+
private $connection;
16+
private $table;
1717

1818
public function __construct(Connection $connection, $table)
1919
{

‎src/Symfony/Component/Security/Http/Session/SessionInformation.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Session/SessionInformation.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
*/
2121
class SessionInformation
2222
{
23-
protected $sessionId;
24-
protected $username;
25-
protected $expired;
26-
protected $lastRequest;
23+
private $sessionId;
24+
private $username;
25+
private $expired;
26+
private $lastRequest;
2727

2828
public function __construct($sessionId, $username, \DateTime $lastRequest, \DateTime $expired = null)
2929
{
@@ -94,17 +94,17 @@ public function refreshLastRequest()
9494
$this->lastRequest = new \DateTime();
9595
}
9696

97-
protected function getExpired()
97+
private function getExpired()
9898
{
9999
return $this->expired;
100100
}
101101

102-
protected function setExpired(\DateTime $expired)
102+
private function setExpired(\DateTime $expired)
103103
{
104104
$this->expired = $expired;
105105
}
106106

107-
protected function setLastRequest(\DateTime $lastRequest)
107+
private function setLastRequest(\DateTime $lastRequest)
108108
{
109109
$this->lastRequest = $lastRequest;
110110
}

‎src/Symfony/Component/Security/Http/Session/SessionRegistry.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Session/SessionRegistry.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
class SessionRegistry
2323
{
24-
protected $sessionRegistryStorage;
24+
private $sessionRegistryStorage;
2525

2626
public function __construct(SessionRegistryStorageInterface $sessionRegistryStorage)
2727
{

0 commit comments

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