Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / _files / Author.php
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  * @since      Class available since Release 3.6.0
15  */
16 class Author
17 {
18     // the order of properties is important for testing the cycle!
19     public $books = array();
20
21     private $name = '';
22
23     public function __construct($name)
24     {
25         $this->name = $name;
26     }
27 }