Property | Type | Description | |
---|---|---|---|
$_settings | array | _settings |
Method | Description | |
---|---|---|
__construct ( View $View, array $settings = [] ) | Allow overriding of settings | |
format ( string $json ) : string | Indents a flat JSON string to make it more human-readable. | |
formatArray ( mixed $json ) : string | formatArray |
public __construct ( View $View, array $settings = [] ) | ||
$View | View | The View this helper is being attached to. |
$settings | array | Configuration settings for the helper. |
public formatArray ( mixed $json ) : string | ||
$json | mixed | |
return | string | Indented version of the original JSON string. |