599aa959fc75a31c860c4abddc503c4506ccbea9
[yaffs-website] / vendor / symfony / http-kernel / Exception / FlattenException.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\HttpKernel\Exception;
13
14 @trigger_error('The '.__NAMESPACE__.'\FlattenException class is deprecated since version 2.3 and will be removed in 3.0. Use the Symfony\Component\Debug\Exception\FlattenException class instead.', E_USER_DEPRECATED);
15
16 /*
17  * FlattenException wraps a PHP Exception to be able to serialize it.
18  *
19  * Basically, this class removes all objects from the trace.
20  *
21  * @author Fabien Potencier <fabien@symfony.com>
22  *
23  * @deprecated since version 2.3, to be removed in 3.0. Use the same class from the Debug component instead.
24  */
25 class_exists('Symfony\Component\Debug\Exception\FlattenException');