| Total Complexity | 6 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class ClassLike |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Vertex |
||
| 14 | */ |
||
| 15 | private $vertex; |
||
| 16 | |||
| 17 | public function __construct(Vertex $vertex) |
||
| 18 | { |
||
| 19 | $this->vertex = $vertex; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getVertex(): Vertex |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getName(): string |
||
| 28 | { |
||
| 29 | return $this->vertex->getId(); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return DepsInternal[] |
||
| 34 | */ |
||
| 35 | public function getDepsInternalTag(): array |
||
| 36 | { |
||
| 37 | return $this->vertex->getAttribute(DepsInternal::getTagName()); |
||
|
|
|||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return Internal[] |
||
| 42 | */ |
||
| 43 | public function getInternalTag(): array |
||
| 46 | } |
||
| 47 | |||
| 48 | public function __toString(): string |
||
| 51 | } |
||
| 52 | } |
||
| 53 |