| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class InterfaceModel implements InterfaceModelInterface |
||
| 21 | { |
||
| 22 | use NameTrait; |
||
| 23 | use NodeTrait; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var FunctionModelInterface[] $functions Class functions. |
||
| 27 | */ |
||
| 28 | private $functions = []; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function addFunction(FunctionModelInterface $function): void |
||
| 34 | { |
||
| 35 | $this->functions[] = $function; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function getFunctions(): array |
||
| 44 | } |
||
| 45 | } |
||
| 46 |