Merge pull request #4036 from dokuwiki/issue4033
[dokuwiki.git] / _test / vendor / symfony / css-selector / Parser / ParserInterface.php
blob51c3d935069aa1b89c2a152d93b9d9ed247f500f
1 <?php
3 /*
4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\CssSelector\Parser;
14 use Symfony\Component\CssSelector\Node\SelectorNode;
16 /**
17 * CSS selector parser interface.
19 * This component is a port of the Python cssselect library,
20 * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
22 * @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
24 * @internal
26 interface ParserInterface
28 /**
29 * Parses given selector source into an array of tokens.
31 * @return SelectorNode[]
33 public function parse(string $source): array;