ParameterObjectInterface.php 796 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 ParameterObjectInterface
  11. {
  12. /**
  13. * @param string $key
  14. * @param mixed $value
  15. * @return void
  16. */
  17. public function __set($key, $value);
  18. /**
  19. * @param string $key
  20. * @return mixed
  21. */
  22. public function __get($key);
  23. /**
  24. * @param string $key
  25. * @return bool
  26. */
  27. public function __isset($key);
  28. /**
  29. * @param string $key
  30. * @return void
  31. */
  32. public function __unset($key);
  33. }