Go to the source code of this file.
◆ toDictionary()
- Author
- Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de
Definition at line 7 of file 03-dictionary.php.
8{
10
11 $refinery =
$DIC->refinery();
12
13 $transformation = $refinery->to()->dictOf(
new \
ILIAS\Refinery\To\Transformation\IntegerTransformation());
14
15 $result = $transformation->transform(array(
'sum' => 5,
'user_id' => 1,
'size' => 4));
16
17 return assert(array(
'sum' => 5,
'user_id' => 1,
'size' => 4) ===
$result);
18}
Class ChatMainBarProvider \MainMenu\Provider.
References $DIC, and $result.