fixes a naming inconsistency
This commit is contained in:
parent
8cfca155a6
commit
5e80c68fab
@ -117,7 +117,7 @@ class Session implements \Serializable
|
|||||||
*
|
*
|
||||||
* @return array Attributes
|
* @return array Attributes
|
||||||
*/
|
*/
|
||||||
public function getAttributes()
|
public function all()
|
||||||
{
|
{
|
||||||
return $this->attributes;
|
return $this->attributes;
|
||||||
}
|
}
|
||||||
@ -127,7 +127,7 @@ class Session implements \Serializable
|
|||||||
*
|
*
|
||||||
* @param array $attributes Attributes
|
* @param array $attributes Attributes
|
||||||
*/
|
*/
|
||||||
public function setAttributes(array $attributes)
|
public function replace(array $attributes)
|
||||||
{
|
{
|
||||||
if (false === $this->started) {
|
if (false === $this->started) {
|
||||||
$this->start();
|
$this->start();
|
||||||
|
Reference in New Issue
Block a user