public function Twig_Util_DeprecationCollector::errorHandler in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Util/DeprecationCollector.php \Twig_Util_DeprecationCollector::errorHandler()
@internal
File
- vendor/
twig/ twig/ lib/ Twig/ Util/ DeprecationCollector.php, line 76
Class
- Twig_Util_DeprecationCollector
- @author Fabien Potencier <fabien@symfony.com>
Code
public function errorHandler($type, $msg) {
if (E_USER_DEPRECATED === $type) {
$this->deprecations[] = $msg;
}
}