for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHP version 7.1
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace PhUml\Code;
use PhUml\Graphviz\HasNodeIdentifier;
use PhUml\Graphviz\ObjectHashIdentifier;
class Definition implements HasNodeIdentifier
{
use ObjectHashIdentifier;
/** @var string */
public $name;
/** @var Method[] */
public $functions;
/** @var Definition */
public $extends;
* @param Method[] $methods
public function __construct(string $name, array $methods = [], Definition $extends = null)
$this->name = $name;
$this->functions = $methods;
$this->extends = $extends;
}