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