ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
◀ ilDoc Overview
Group.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Refinery\Decode
;
22
23
use
ILIAS\Refinery\Decode\Transformation\Json
;
24
use
ILIAS\Refinery\Transformation
;
25
26
class
Group
27
{
35
public
function
json
(
int
$max_depth =
Json::DEFAULT_MAX_DEPTH
):
Transformation
36
{
37
return
new
Json
($max_depth);
38
}
39
}
ILIAS\Refinery\Decode\Group
Definition:
Group.php:27
ILIAS\Refinery\Decode\Group\json
json(int $max_depth=Json::DEFAULT_MAX_DEPTH)
Decodes a JSON string into native PHP values, JSON objects become associative arrays.
Definition:
Group.php:35
ILIAS\Refinery\Decode\Transformation\Json
This class is a wrapper around json_decode which rejects undecodable input with an InvalidArgumentExc...
Definition:
Json.php:41
ILIAS\Refinery\Decode\Transformation\Json\DEFAULT_MAX_DEPTH
const int DEFAULT_MAX_DEPTH
PHP does not expose the default of its JSON parser (PHP_JSON_PARSER_DEFAULT_DEPTH) to userland.
Definition:
Json.php:48
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:35
ILIAS\Refinery\Decode
Definition:
Group.php:21
components
ILIAS
Refinery
src
Decode
Group.php
Generated on Wed Nov 11 2026 23:07:14 for ILIAS by
1.9.4 (using
Doxyfile
)