final protected function parseImage(Crawler $node): ?Image
    {
        $src = $this->parseUrl($node, 'src');

        if (!$src) {
            return null;
        }

        return new Image($src);
    }
final protected function parseImage(Crawler $node): ?Image
    {
        $src = $this->parseUrl($node, 'src');

        if (!$src) {
            return null;
        }

        return new Image($src);
    }
final protected function parseImage ( Crawler $ node ) : ? Image { $ src = $ this -> parseUrl ( $ node , 'src' ) ; if ( ! $ src ) { return null ; } return new Image ( $ src ) ; }
Parses an image node.

@param Crawler $node

@return Image|null
Parses an image node .