InvalidMethodCallException.php 884 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of the Sonata Project package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Exporter\Exception;
  11. if (!class_exists('\Sonata\\'.__NAMESPACE__.'\InvalidMethodCallException', false)) {
  12. @trigger_error(
  13. 'The '.__NAMESPACE__.'\InvalidMethodCallException class is deprecated since version 1.x and will be removed in 2.0.'
  14. .' Use \Sonata\\'.__NAMESPACE__.'\InvalidMethodCallException instead',
  15. E_USER_DEPRECATED
  16. );
  17. }
  18. class_alias(
  19. '\Sonata\\'.__NAMESPACE__.'\InvalidMethodCallException',
  20. __NAMESPACE__.'\InvalidMethodCallException'
  21. );
  22. if (false) {
  23. class InvalidMethodCallException extends \Sonata\Exporter\Exception\InvalidMethodCallException
  24. {
  25. }
  26. }