<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exporter\Writer;
if (!class_exists('\Sonata\\'.__NAMESPACE__.'\JsonWriter', false)) {
@trigger_error(
'The '.__NAMESPACE__.'\JsonWriter class is deprecated since version 1.x and will be removed in 2.0.'
.' Use \Sonata\\'.__NAMESPACE__.'\JsonWriter instead',
E_USER_DEPRECATED
);
}
class_alias(
'\Sonata\\'.__NAMESPACE__.'\JsonWriter',
__NAMESPACE__.'\JsonWriter'
);
if (false) {
class JsonWriter extends \Sonata\Exporter\Writer\JsonWriter
{
}
}