Utils.php
system/ThirdParty/Kint/Utils.php
1 class
18 methods
class Utils
A collection of utility methods. Should all be static methods with no dependencies.
__construct
()
getHumanReadableBytes
(int $value)
isSequential
(array $array)
isAssoc
(array $array)
isTrace
(array $trace)
traceFrameIsListed
(array $frame, array $matches)
normalizeAliases
(array $aliases)
isValidPhpName
(string $name)
isValidPhpNamespace
(string $ns)
errorSanitizeString
(string $input)
getTypeString
(ReflectionType $type)
truncateString
(string $input, int $length = PHP_INT_MAX, string $end = '...', $encoding = false)
detectEncoding
(string $string)
strlen
(string $string, $encoding = false)
substr
(string $string, int $start, ?int $length = null, $encoding = false)
shortenPath
(string $file)
composerGetExtras
(string $key = 'kint')
composerSkipFlags
()