Lexer.php 699 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Doctrine\Common;
  3. use Doctrine\Common\Lexer\AbstractLexer;
  4. use function trigger_error;
  5. use const E_USER_DEPRECATED;
  6. @trigger_error(Lexer::class . ' is deprecated.', E_USER_DEPRECATED);
  7. /**
  8. * Base class for writing simple lexers, i.e. for creating small DSLs.
  9. *
  10. * Lexer moved into its own Component Doctrine\Common\Lexer. This class
  11. * only stays for being BC.
  12. *
  13. * @since 2.0
  14. * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
  15. * @author Jonathan Wage <jonwage@gmail.com>
  16. * @author Roman Borschel <roman@code-factory.org>
  17. *
  18. * @deprecated Use Doctrine\Common\Lexer\AbstractLexer from doctrine/lexer package instead.
  19. */
  20. abstract class Lexer extends AbstractLexer
  21. {
  22. }