D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
api
/
vendor
/
symfony
/
debug
/
Tests
/
Fixtures
/
Filename :
LoggerThatSetAnErrorHandler.php
back
Copy
<?php namespace Symfony\Component\Debug\Tests\Fixtures; use Symfony\Component\Debug\BufferingLogger; class LoggerThatSetAnErrorHandler extends BufferingLogger { public function log($level, $message, array $context = []) { set_error_handler('is_string'); parent::log($level, $message, $context); restore_error_handler(); } }