fixes a naming inconsistency

This commit is contained in:
Johannes Schmitt 2011-07-15 18:06:18 +02:00
parent 8cfca155a6
commit 5e80c68fab

View File

@ -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();