* * 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; } }