ArraySerializableInterface.php 680 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. interface ArraySerializableInterface
  11. {
  12. /**
  13. * Exchange internal values from provided array
  14. *
  15. * @param array $array
  16. * @return void
  17. */
  18. public function exchangeArray(array $array);
  19. /**
  20. * Return an array representation of the object
  21. *
  22. * @return array
  23. */
  24. public function getArrayCopy();
  25. }