PhpLegacyCompatibility.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Zend Framework (http://framework.zend.com/)
  4. *
  5. * @link http://github.com/zendframework/zf2 for the canonical source repository
  6. * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
  7. * @license http://framework.zend.com/license/new-bsd New BSD License
  8. */
  9. namespace Zend\Stdlib\ArrayObject;
  10. use ArrayObject as PhpArrayObject;
  11. /**
  12. * ArrayObject
  13. *
  14. * Since we need to substitute an alternate ArrayObject implementation for
  15. * versions > 5.3.3, we need to provide a stub for 5.3.3. This stub
  16. * simply extends the PHP ArrayObject implementation, and provides default
  17. * behavior in the constructor.
  18. */
  19. abstract class PhpLegacyCompatibility extends PhpArrayObject
  20. {
  21. /**
  22. * Constructor
  23. *
  24. * @param array $input
  25. * @param int $flags
  26. * @param string $iteratorClass
  27. */
  28. public function __construct($input = array(), $flags = self::STD_PROP_LIST, $iteratorClass = 'ArrayIterator')
  29. {
  30. parent::__construct($input, $flags, $iteratorClass);
  31. }
  32. }