Make lock standard

This commit is contained in:
Dennis Eichhorn 2017-11-16 16:53:38 +01:00
parent 7cbd8d6081
commit 2a14389073
2 changed files with 10 additions and 4 deletions

View File

@ -147,11 +147,9 @@ class HttpSession implements SessionInterface
}
/**
* Lock session from further adjustments.
*
* @since 1.0.0
* {@inheritdoc}
*/
public function lock()
public function lock() /* : void */
{
self::$isLocked = true;
}

View File

@ -91,4 +91,12 @@ interface SessionInterface
*/
public function setSID($sid) /* : void */;
/**
* Lock session from further adjustments.
*
* @return void
*
* @since 1.0.0
*/
public function lock() /* : void */;
}