IDeserializer.php 676 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * This file is part of amfPHP
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the license that is bundled
  8. * with this package in the file license.txt.
  9. */
  10. /**
  11. * interface for deserializers.
  12. * @package Amfphp_Core_Common
  13. * @author Ariel Sommeria-klein
  14. */
  15. interface Amfphp_Core_Common_IDeserializer {
  16. /**
  17. * deserialize the data.
  18. * @param array $getData typically the $_GET array.
  19. * @param array $postData typically the $_POST array.
  20. * @param String $rawPostData
  21. * @return mixed the deserialized data. For example an Amf packet.
  22. */
  23. public function deserialize(array $getData, array $postData, $rawPostData);
  24. }
  25. ?>