File Manager Lite
Dir:
/home/u540325668/domains/mkjsindia.org/public_html_old/vendor/symfony/dom-crawler
Upload
[..]
.gitattributes (79 B)
Edit
Rename
Del
CHANGELOG.md (3.05 KB)
Edit
Rename
Del
Crawler.php (36.71 KB)
Edit
Rename
Del
Field/
Rename
Del
Image.php (870 B)
Edit
Rename
Del
LICENSE (1.04 KB)
Edit
Rename
Del
Link.php (847 B)
Edit
Rename
Del
README.md (503 B)
Edit
Rename
Del
Test/
Rename
Del
composer.json (1.06 KB)
Edit
Rename
Del
Edit: Image.php
<?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\DomCrawler; /** * Image represents an HTML image (an HTML img tag). */ class Image extends AbstractUriElement { public function __construct(\DOMElement $node, string $currentUri = null) { 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; } }
Simpan