12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /*
- * This file is part of the Comparator package.
- *
- * (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.
- */
- namespace SebastianBergmann\Comparator;
- /**
- * An author.
- *
- * @package Comparator
- * @author Bernhard Schussek <bschussek@2bepublished.at>
- * @copyright Sebastian Bergmann <sebastian@phpunit.de>
- * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
- * @link http://www.github.com/sebastianbergmann/comparator
- */
- class Author
- {
- // the order of properties is important for testing the cycle!
- public $books = array();
- private $name = '';
- public function __construct($name)
- {
- $this->name = $name;
- }
- }
|