4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpKernel\Exception;
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);
17 * FlattenException wraps a PHP Exception to be able to serialize it.
19 * Basically, this class removes all objects from the trace.
21 * @author Fabien Potencier <fabien@symfony.com>
23 * @deprecated since version 2.3, to be removed in 3.0. Use the same class from the Debug component instead.
25 class_exists('Symfony\Component\Debug\Exception\FlattenException');