| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 2 | public function __construct(VariantWrapper $variant) |
|
| 40 | { |
||
| 41 | 2 | parent::__construct($variant); |
|
| 42 | |||
| 43 | 2 | $this->authority = $this->object->Authority; |
|
|
|
|||
| 44 | 2 | $this->class = $this->object->Class; |
|
| 45 | 2 | $this->display_name = $this->object->DisplayName; |
|
| 46 | 2 | $this->is_class = $this->object->IsClass; |
|
| 47 | 2 | $this->is_singleton = $this->object->IsSingleton; |
|
| 48 | 2 | $this->keys = []; |
|
| 49 | 2 | $this->namespace = $this->object->Namespace; |
|
| 50 | 2 | $this->parent_namespace = $this->object->ParentNamespace; |
|
| 51 | 2 | $this->path = $this->object->Path; |
|
| 52 | 2 | $this->relative_path = $this->object->RelPath; |
|
| 53 | 2 | $this->server = $this->object->Server; |
|
| 54 | 2 | } |
|
| 56 |