private static function Kint::_stepIsInternal in Devel 8
Same name and namespace in other branches
- 8.2 kint/kint/Kint.class.php \Kint::_stepIsInternal()
* returns whether current trace step belongs to Kint or its wrappers * *
Parameters
$step: * * @return array
2 calls to Kint::_stepIsInternal()
- Kint::_getCalleeInfo in kint/
kint/ Kint.class.php - * returns parameter names that the function was passed, as well as any predefined symbols before function * call (modifiers) * *
- Kint::_parseTrace in kint/
kint/ Kint.class.php
File
- kint/
kint/ Kint.class.php, line 595
Class
Code
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);
}
}