AbstractExtension.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  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 Symfony\Component\CssSelector\XPath\Extension;
  11. /**
  12. * XPath expression translator abstract extension.
  13. *
  14. * This component is a port of the Python cssselect library,
  15. * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
  16. *
  17. * @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
  18. *
  19. * @internal
  20. */
  21. abstract class AbstractExtension implements ExtensionInterface
  22. {
  23. public function getNodeTranslators(): array
  24. {
  25. return [];
  26. }
  27. public function getCombinationTranslators(): array
  28. {
  29. return [];
  30. }
  31. public function getFunctionTranslators(): array
  32. {
  33. return [];
  34. }
  35. public function getPseudoClassTranslators(): array
  36. {
  37. return [];
  38. }
  39. public function getAttributeMatchingTranslators(): array
  40. {
  41. return [];
  42. }
  43. }