Author.php 529 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /*
  3. * This file is part of the Comparator package.
  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. /**
  12. * An author.
  13. *
  14. */
  15. class Author
  16. {
  17. // the order of properties is important for testing the cycle!
  18. public $books = array();
  19. private $name = '';
  20. public function __construct($name)
  21. {
  22. $this->name = $name;
  23. }
  24. }