Smile\ElasticsuiteThesaurus\Model\Thesaurus::setType PHP Method

setType() public method

Set type
public setType ( string $type ) : Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface
$type string the type of thesaurus to save
return Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface
    public function setType($type)
    {
        return $this->setData(self::TYPE, (string) $type);
    }