www.gusucode.com > KPPW众包威客PHP开源建站系统 v3.0源码程序 > KPPW/vendor/phpunit/phpunit/tests/_files/Author.php
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * An author. * * @since Class available since Release 3.6.0 */ class Author { // the order of properties is important for testing the cycle! public $books = array(); private $name = ''; public function __construct($name) { $this->name = $name; } }