public function parse(&
$var, Value &
$o, int
$trigger): void
{ $class = \
get_class($var);
// assuming class definition will not change inside one request
if (!
isset(self::
$cache[$class])) { $methods =
[];
$reflection =
new ReflectionClass($class);
foreach ($reflection->
getMethods() as $method) { $methods[] =
new MethodValue($method);
} \
usort($methods,
['Kint\\Parser\\ClassMethodsPlugin', 'sort'
]);
self::
$cache[$class] =
$methods;
} if (!
empty(self::
$cache[$class])) { $rep =
new Representation('Available methods', 'methods'
);
// Can't cache access paths