public function setValue($value)
    {
        if (null === $value) {
            $value = $this->getArgument('default');
        }

        $this->value = ($this->needsSanitization())
            ? $this->sanitizeWithCallback($value)
            : $value;

        return $this;
    }
public function setValue($value)
    {
        if (null === $value) {
            $value = $this->getArgument('default');
        }

        $this->value = ($this->needsSanitization())
            ? $this->sanitizeWithCallback($value)
            : $value;

        return $this;
    }
public function setValue ( $ value ) { if ( null === $ value ) { $ value = $ this -> getArgument ( 'default' ) ; } $ this -> value = ( $ this -> needsSanitization ( ) ) ? $ this -> sanitizeWithCallback ( $ value ) : $ value ; return $ this ; }
Set the value of value.

@param mixed $value the value

@return self
Set the value of value .