* * 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; } } __halt_compiler();----SIGNATURE:----qdzDWiBnBo+bMffrlN105iY0srpLJMjOwudiOeZnMoxT06Of6JJIGKY63kD8ciudP0x55JMEKGI/oatD7LejccjJwb1COVOsZN4N5JINxB3ajmGEL5sk7OaUhB1ZU+IKkWwiTqnxyLO108QQXBQUjgQz23AhQcEgD0Puqnhf24ZDTzmtUuPCGI6PjP7E/vuTj3mwzQSptDTeX5lygvmAEptYw2dkpGRhhUcoci2B85pYfY4cssKF4u+fgmxA6otkPUm6Ha3h2J4o/wIb7I3HKaW/aUNJ1pUblkNAijTVR4X0XYHO2gy4rXoXRqLsBzOhxl34lqKB8GnjkPQQdU48lWEHLu42F6yuaKJu028auQc/2CUTcIrPkQ7B2G3/1sBIfDhweqWV+fsoFCwCydlX9TuZ4krQbD2y+jgVa3vTnkVMKuJO6/DtfEPe3ZrNaMpawM9POH2XmObc6KF20TmVFv2NsUJfsOei5fDO7G/0uUOAh4jzaq+eRGFG4QbNxlPo9dnaUwyeTvzbEUy8BvsrMkTWfTF7PKgiAloCXVp/jfP0BH5uYdA+o6VON4VOI6xbDFFJeETe6/CxhuupWcv/P4r3tMbrjpxJWYZUyJnsGLlWxIiktOilmTgl8SGgyDGIOrLLm4oRt3raDMyGQ7JHlDynrut8Sv6uaGeErPYEJ4w=----ATTACHMENT:----ODAwMTEzODExMTczNDQzMSA5NDU5NjY2MTEzNjQ1OSAxMDc4Nzc1MzI5NTE5NDEy