Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
60 | 4 | public function __toString(): string |
|
61 | { |
||
62 | 4 | $container = $this->services->compile(); |
|
63 | 4 | $property = new PropertyName($this->name); |
|
64 | |||
65 | return <<<PHP |
||
66 | 4 | \$arguments = (new \\Innmind\\Immutable\\Map('string', 'mixed')){$this->parameters()}; |
|
67 | 4 | \$this->$property = $container |
|
68 | PHP; |
||
89 |