Go to the source code of this file.
◆ toNewObject()
- Author
- Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de
Definition at line 7 of file 06-to-new-object.php.
References $DIC, $result, and ILIAS\GlobalScreen\Provider\__construct().
11 private $firstParameter;
12 private $secondParameter;
13 private $thirdParameter;
16 string $firstParameter,
18 string $thirdParameter
20 $this->firstParameter = $firstParameter;
21 $this->secondParameter = $secondParameter;
22 $this->thirdParameter = $thirdParameter;
27 return $this->firstParameter;
33 $refinery = $DIC->refinery();
35 $transformation = $refinery->to()->toNew(
39 $result = $transformation->transform(array(
'firstParameter', 2,
'thirdParameter'));
41 return assert(
'firstParameter' ===
$result->say());
__construct(Container $dic, ilPlugin $plugin)