PhpParser\Builder\Param::setDefault PHP Method

setDefault() public method

Sets default value for the parameter.
public setDefault ( mixed $value )
$value mixed Default value to use
    public function setDefault($value) {
        $this->default = $this->normalizeValue($value);

        return $this;
    }