public function setLastBuildDate($lastBuildDate)
    {
        if ($lastBuildDate instanceof \DateTime) {
            $this->lastBuildDate = $lastBuildDate;
        } else {
            $this->lastBuildDate = new \DateTime($lastBuildDate);
        }

        return $this;
    }
public function setLastBuildDate($lastBuildDate)
    {
        if ($lastBuildDate instanceof \DateTime) {
            $this->lastBuildDate = $lastBuildDate;
        } else {
            $this->lastBuildDate = new \DateTime($lastBuildDate);
        }

        return $this;
    }
public function setLastBuildDate ( $ lastBuildDate ) { if ( $ lastBuildDate instanceof \ DateTime ) { $ this -> lastBuildDate = $ lastBuildDate ; } else { $ this -> lastBuildDate = new \ DateTime ( $ lastBuildDate ) ; } return $ this ; }
Sets lastBuildDate.

@param \DateTime|string $lastBuildDate

@return Feed
Sets lastBuildDate .