View file vendor/league/commonmark/src/Extension/SmartPunct/Quote.php

File size: 796B
  1. <?php
  2.  
  3. /*
  4. * This file is part of the league/commonmark package.
  5. *
  6. * (c) Colin O'Dell <colinodell@gmail.com>
  7. *
  8. * Original code based on the CommonMark JS reference parser (http://bitly.com/commonmark-js)
  9. * - (c) John MacFarlane
  10. *
  11. * For the full copyright and license information, please view the LICENSE
  12. * file that was distributed with this source code.
  13. */
  14.  
  15. namespace League\CommonMark\Extension\SmartPunct;
  16.  
  17. use League\CommonMark\Inline\Element\AbstractStringContainer;
  18.  
  19. final class Quote extends AbstractStringContainer
  20. {
  21. public const DOUBLE_QUOTE = '"';
  22. public const DOUBLE_QUOTE_OPENER = '“';
  23. public const DOUBLE_QUOTE_CLOSER = '”';
  24.  
  25. public const SINGLE_QUOTE = "'";
  26. public const SINGLE_QUOTE_OPENER = '‘';
  27. public const SINGLE_QUOTE_CLOSER = '’';
  28. }