You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.2 KiB

3 years ago
  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. /**
  24. * {@inheritdoc}
  25. */
  26. public function getNodeTranslators(): array
  27. {
  28. return [];
  29. }
  30. /**
  31. * {@inheritdoc}
  32. */
  33. public function getCombinationTranslators(): array
  34. {
  35. return [];
  36. }
  37. /**
  38. * {@inheritdoc}
  39. */
  40. public function getFunctionTranslators(): array
  41. {
  42. return [];
  43. }
  44. /**
  45. * {@inheritdoc}
  46. */
  47. public function getPseudoClassTranslators(): array
  48. {
  49. return [];
  50. }
  51. /**
  52. * {@inheritdoc}
  53. */
  54. public function getAttributeMatchingTranslators(): array
  55. {
  56. return [];
  57. }
  58. }