Api\StructType\ApiBannerInfo::setTitle PHP Метод

setTitle() публичный Метод

Set Title value
public setTitle ( string $title = null ) : ApiBannerInfo
$title string
Результат ApiBannerInfo
    public function setTitle($title = null)
    {
        // validation for constraint: string
        if (!is_null($title) && !is_string($title)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($title)), __LINE__);
        }
        $this->Title = $title;
        return $this;
    }