Inspector.php 365 B

12345678910111213141516171819
  1. <?php
  2. /* vim: set shiftwidth=2 expandtab softtabstop=2: */
  3. namespace Boris;
  4. /**
  5. * Something that is capable of returning a useful representation of a variable.
  6. */
  7. interface Inspector {
  8. /**
  9. * Return a debug-friendly string representation of $variable.
  10. *
  11. * @param mixed $variable
  12. *
  13. * @return string
  14. */
  15. public function inspect($variable);
  16. }