public function PHP_CodeCoverage_Report_Node::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node.php \PHP_CodeCoverage_Report_Node::__construct()
Constructor.
Parameters
string $name:
PHP_CodeCoverage_Report_Node $parent:
1 call to PHP_CodeCoverage_Report_Node::__construct()
- PHP_CodeCoverage_Report_Node_File::__construct in vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Report/ Node/ File.php - Constructor.
1 method overrides PHP_CodeCoverage_Report_Node::__construct()
- PHP_CodeCoverage_Report_Node_File::__construct in vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Report/ Node/ File.php - Constructor.
File
- vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Report/ Node.php, line 49
Class
- PHP_CodeCoverage_Report_Node
- Base class for nodes in the code coverage information tree.
Code
public function __construct($name, PHP_CodeCoverage_Report_Node $parent = null) {
if (substr($name, -1) == '/') {
$name = substr($name, 0, -1);
}
$this->name = $name;
$this->parent = $parent;
}