An author.
@package PHPUnit @author Bernhard Schussek <bschussek@2bepublished.at> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link http://www.phpunit.de/ @since Class available since Release 3.6.0
Expanded class hierarchy of Author
class Author {
// the order of properties is important for testing the cycle!
public $books = array();
private $name = '';
public function __construct($name) {
$this->name = $name;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Author:: |
public | property | ||
Author:: |
private | property | ||
Author:: |
public | function |