public function update($value)
        {
            $this->validate($value);
            if ($this->chaining) {
                $this->chain = $value;
            } else {
                $this->current = $value;
            }
            return $this;
        }
public function update($value)
        {
            $this->validate($value);
            if ($this->chaining) {
                $this->chain = $value;
            } else {
                $this->current = $value;
            }
            return $this;
        }
public function update ( $ value ) { $ this -> validate ( $ value ) ; if ( $ this -> chaining ) { $ this -> chain = $ value ; } else { $ this -> current = $ value ; } return $ this ; }
Update a value.

@param mixed $value
@return \PHY\Variable\AVar
Update a value .