| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public static function createFromReflection(\ReflectionClass $parent, string $class): self |
||
| 15 | { |
||
| 16 | $self = new self(); |
||
| 17 | $self->parent = new Declaration\ReflectionDeclarationDeclaration($parent); |
||
| 18 | $self->class = new Declaration\DeclarationDeclaration($class, $self->parent); |
||
| 19 | |||
| 20 | return $self; |
||
| 21 | } |
||
| 22 | } |