src/Watson/Sitemap/Sitemap.php
public function addExpiredTag($location, $expired = null)
    {
        $tag = $location instanceof ExpiredTag ? $location : new ExpiredTag($location, $expired);

        $this->tags[] = $tag;
    }
public function addExpiredTag($location, $expired = null)
    {
        $tag = $location instanceof ExpiredTag ? $location : new ExpiredTag($location, $expired);

        $this->tags[] = $tag;
    }
public function addExpiredTag ( $ location , $ expired = null ) { $ tag = $ location instanceof ExpiredTag ? $ location : new ExpiredTag ( $ location , $ expired ) ; $ this -> tags [ ] = $ tag ; }
Add a new expired tag to the sitemap.

@param  string  $location
@param  \DateTime|string  $expired
@return void
Add a new expired tag to the sitemap .