Skip to content

Commit

Permalink
1. move Zend/Stdlib/ArrayObject/PhpReferenceCompatibility.php into Ze…
Browse files Browse the repository at this point in the history
…nd/Stdlib/ArrayObject.php and remove the Zend/Stdlib/ArrayObject/PhpReferenceCompatibility.php

2. move Zend/Session/Storage/SessionArrayStorage/PhpReferenceCompatibility.php into Zend/Session/Storage/SessionArrayStorage.php and remove Zend/Session/Storage/SessionArrayStorage/PhpReferenceCompatibility.php
  • Loading branch information
samsonasik committed Mar 4, 2014
1 parent d7f95a0 commit 36d214c
Show file tree
Hide file tree
Showing 4 changed files with 434 additions and 478 deletions.
26 changes: 23 additions & 3 deletions library/Zend/Session/Storage/SessionArrayStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,31 @@

namespace Zend\Session\Storage;

use Zend\Session\Storage\SessionArrayStorage\PhpReferenceCompatibility;

/**
* Session storage in $_SESSION
*/
class SessionArrayStorage extends PhpReferenceCompatibility
class SessionArrayStorage extends AbstractSessionArrayStorage
{
/**
* Get Offset
*
* @param mixed $key
* @return mixed
*/
public function &__get($key)
{
return $_SESSION[$key];
}

/**
* Offset Get
*
* @param mixed $key
* @return mixed
*/
public function &offsetGet($key)
{
return $_SESSION[$key];
}
}

This file was deleted.

Loading

0 comments on commit 36d214c

Please sign in to comment.