Вход Регистрация
Файл: gapps/vendor/phpunit/phpunit/tests/_files/Author.php
Строк: 23
<?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;
    }
}
Онлайн: 2
Реклама