ClassWithToString.php 396 B

12345678910111213141516171819
  1. <?php
  2. /*
  3. * This file is part of sebastian/comparator.
  4. *
  5. * (c) Sebastian Bergmann <sebastian@phpunit.de>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace SebastianBergmann\Comparator;
  11. class ClassWithToString
  12. {
  13. public function __toString()
  14. {
  15. return 'string representation';
  16. }
  17. }