Nette\PhpGenerator\Parameter::setTypeHint PHP Method

setTypeHint() public method

public setTypeHint ( $hint ) : self
return self
    public function setTypeHint($hint)
    {
        $this->typeHint = $hint ? (string) $hint : NULL;
        return $this;
    }