src/Watson/Sitemap/Tags/BaseTag.php
public function addImage($location, $caption = null, $geoLocation = null, $title = null, $license = null)
    {
        $image = $location instanceof ImageTag ? $location : new ImageTag($location, $caption, $geoLocation, $title, $license);

        $this->images[] = $image;
    }
public function addImage($location, $caption = null, $geoLocation = null, $title = null, $license = null)
    {
        $image = $location instanceof ImageTag ? $location : new ImageTag($location, $caption, $geoLocation, $title, $license);

        $this->images[] = $image;
    }
public function addImage ( $ location , $ caption = null , $ geoLocation = null , $ title = null , $ license = null ) { $ image = $ location instanceof ImageTag ? $ location : new ImageTag ( $ location , $ caption , $ geoLocation , $ title , $ license ) ; $ this -> images [ ] = $ image ; }
Add an image tag to the tag.

@param  string  $location
@param  string  $caption
@param  string  $geo_location
@param  string  $title
@param  string  $license
@return void
Add an image tag to the tag .