TranslatorInterface.php
10 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\CssSelector\XPath; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Symfony\Component\CssSelector\Node\SelectorNode; |
| 5 | interface TranslatorInterface |
| 6 | { |
| 7 | public function cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self::') : string; |
| 8 | public function selectorToXPath(SelectorNode $selector, string $prefix = 'descendant-or-self::') : string; |
| 9 | } |
| 10 |