StringObject.php 282 B

12345678910111213141516171819
  1. <?php
  2. namespace TestApp\Log\Object;
  3. /**
  4. * used for testing when an object is passed to a logger
  5. */
  6. class StringObject
  7. {
  8. /**
  9. * String representation of the object
  10. *
  11. * @return string
  12. */
  13. public function __toString()
  14. {
  15. return 'Hey!';
  16. }
  17. }