JsonSerializable.php 691 B

12345678910111213141516171819202122232425262728
  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-2014 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;
  10. if (PHP_VERSION_ID < 50400) {
  11. class_alias(
  12. 'Zend\Stdlib\JsonSerializable\PhpLegacyCompatibility',
  13. 'JsonSerializable'
  14. );
  15. }
  16. /**
  17. * Polyfill for JsonSerializable
  18. *
  19. * JsonSerializable was introduced in PHP 5.4.0.
  20. *
  21. * @see http://php.net/manual/class.jsonserializable.php
  22. */
  23. interface JsonSerializable extends \JsonSerializable
  24. {
  25. }