forked from GNUsocial/gnu-social
27 lines
518 B
PHP
27 lines
518 B
PHP
|
<?php
|
||
|
/*
|
||
|
* This file is part of sebastian/comparator.
|
||
|
*
|
||
|
* (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.
|
||
|
*/
|
||
|
class Author
|
||
|
{
|
||
|
// the order of properties is important for testing the cycle!
|
||
|
public $books = [];
|
||
|
|
||
|
private $name = '';
|
||
|
|
||
|
public function __construct($name)
|
||
|
{
|
||
|
$this->name = $name;
|
||
|
}
|
||
|
}
|