← All changes
|
vendor/symfony/css-selector/XPath/Extension/ExtensionInterface.php
+10
-1
4.3.9
→
4.4.8
View file →
| @@ -10,13 +10,15 @@ | ||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace Symfony\Component\CssSelector\XPath\Extension; |
| 13 | 13 | |
| 14 | +use Symfony\Component\CssSelector\XPath\XPathExpr; | |
| 15 | + | |
| 14 | 16 | /** |
| 15 | 17 | * XPath expression translator extension interface. |
| 16 | 18 | * |
| 17 | 19 | * This component is a port of the Python cssselect library, |
| 18 | - * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. | |
| 20 | + * which is copyright Ian Bicking, @see https://github.com/scrapy/cssselect. | |
| 19 | 21 | * |
| 20 | 22 | * @author Jean-François Simon <[email protected]> |
| 21 | 23 | * |
| 22 | 24 | * @internal |
| @@ -58,8 +60,15 @@ | ||
| 58 | 60 | * |
| 59 | 61 | * @return callable[] |
| 60 | 62 | */ |
| 61 | 63 | public function getAttributeMatchingTranslators(): array; |
| 64 | + | |
| 65 | + /** | |
| 66 | + * Returns combination translators found inside ":has()" relation. | |
| 67 | + * | |
| 68 | + * @return array<string, callable(XPathExpr, XPathExpr): XPathExpr> | |
| 69 | + */ | |
| 70 | + public function getRelativeCombinationTranslators(): array; | |
| 62 | 71 | |
| 63 | 72 | /** |
| 64 | 73 | * Returns extension name. |
| 65 | 74 | */ |