Current Path: > > opt > cloudlinux > alt-php55 > root > usr > share > > pear > Symfony > > Component > CssSelector > Node
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
AbstractNode.php | File | 920 bytes | December 18 2019 11:24:05. | |
AttributeNode.php | File | 2635 bytes | December 18 2019 11:24:05. | |
ClassNode.php | File | 1519 bytes | December 18 2019 11:24:05. | |
CombinedSelectorNode.php | File | 1992 bytes | December 18 2019 11:24:05. | |
ElementNode.php | File | 1606 bytes | December 18 2019 11:24:05. | |
FunctionNode.php | File | 2075 bytes | December 18 2019 11:24:05. | |
HashNode.php | File | 1500 bytes | December 18 2019 11:24:05. | |
NegationNode.php | File | 1634 bytes | December 18 2019 11:24:05. | |
NodeInterface.php | File | 920 bytes | December 18 2019 11:24:05. | |
PseudoNode.php | File | 1586 bytes | December 18 2019 11:24:05. | |
SelectorNode.php | File | 1684 bytes | December 18 2019 11:24:05. | |
Specificity.php | File | 1563 bytes | December 18 2019 11:24:05. |
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\CssSelector\Node; /** * Represents a "<selector>.<name>" node. * * This component is a port of the Python cssselector library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com> */ class ClassNode extends AbstractNode { /** * @var NodeInterface */ private $selector; /** * @var string */ private $name; /** * @param NodeInterface $selector * @param string $name */ public function __construct(NodeInterface $selector, $name) { $this->selector = $selector; $this->name = $name; } /** * @return NodeInterface */ public function getSelector() { return $this->selector; } /** * @return string */ public function getName() { return $this->name; } /** * {@inheritdoc} */ public function getSpecificity() { return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0)); } /** * {@inheritdoc} */ public function __toString() { return sprintf('%s[%s.%s]', $this->getNodeName(), $this->selector, $this->name); } }
SILENT KILLER Tool