/var/www/vhosts/nabawater/vendor/symfony/dom-crawler
NameSizeModeActions
Field/-0775rm
Tests/-0775rm
.gitignore340664editdlrm
AbstractUriElement.php50580664editdlrm
CHANGELOG.md19760664editdlrm
composer.json9980664editdlrm
Crawler.php348210664editdlrm
Form.php155900664editdlrm
FormFieldRegistry.php58930664editdlrm
Image.php8560664editdlrm
LICENSE10650664editdlrm
Link.php8470664editdlrm
phpunit.xml.dist8880664editdlrm
README.md5030664editdlrm
Edit: /var/www/vhosts/nabawater/vendor/symfony/dom-crawler/Image.php (856B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DomCrawler; /** * Image represents an HTML image (an HTML img tag). */ class Image extends AbstractUriElement { public function __construct(\DOMElement $node, $currentUri) { parent::__construct($node, $currentUri, 'GET'); } protected function getRawUri() { return $this->node->getAttribute('src'); } protected function setNode(\DOMElement $node) { if ('img' !== $node->nodeName) { throw new \LogicException(sprintf('Unable to visualize a "%s" tag.', $node->nodeName)); } $this->node = $node; } }