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 11namespace SebastianBergmann\Comparator; 12 13/** 14 * An author. 15 * 16 */ 17class Author 18{ 19 // the order of properties is important for testing the cycle! 20 public $books = array(); 21 22 private $name = ''; 23 24 public function __construct($name) 25 { 26 $this->name = $name; 27 } 28} 29