'instanceOf' => $decorator['class'],
'constructParams' => empty($decorator['arguments']) ? null : $decorator['arguments'],
/// @todo maybe support call structures for hooks as well in a later stage - could make factory calls easier
- 'call' => null,
- 'substitutions' => [$class => $instance],
+ 'call' => null,
+ 'substitutions' => [$class => $instance],
]);
$instance = $this->dice->create($class);
public function __construct(string $aText = null, bool $cBool = null, string $bText = null)
{
- $this->aText = $aText;
- $this->cBool = $cBool;
- $this->bText = $bText;
+ $this->aText = $aText;
+ $this->cBool = $cBool;
+ $this->bText = $bText;
}
public function createSomething(string $aText, bool $cBool, string $bText): string
{
- $this->aText = $aText;
- $this->cBool = $cBool;
- $this->bText = $bText;
+ $this->aText = $aText;
+ $this->cBool = $cBool;
+ $this->bText = $bText;
}
public function getAText(): ?string