Kint::_stepIsInternal PHP Method

_stepIsInternal() private static method

returns whether current trace step belongs to Kint or its wrappers
private static _stepIsInternal ( $step ) : array
$step
return array
    private static function _stepIsInternal($step)
    {
        if (isset($step['class'])) {
            foreach (self::$aliases['methods'] as $alias) {
                if ($alias[0] === strtolower($step['class']) && $alias[1] === strtolower($step['function'])) {
                    return true;
                }
            }
            return false;
        } else {
            return in_array(strtolower($step['function']), self::$aliases['functions'], true);
        }
    }