gossi\codegen\model\parts\TypePart::setType PHP Method

setType() public method

Sets the type
public setType ( string $type, string $description = null )
$type string
$description string
    public function setType($type, $description = null)
    {
        $this->type = $type;
        if (null !== $description) {
            $this->setTypeDescription($description);
        }
        return $this;
    }