public function ruleValue($value = null)
    {
        if (\func_num_args() > 0) {
            if (null !== $value && $this->validateValue($value)) {
                $this->value = $value;
                $this->updateBound();

                return true;
            }
            return false;
        }
        return $this->value;
    }
public function ruleValue($value = null)
    {
        if (\func_num_args() > 0) {
            if (null !== $value && $this->validateValue($value)) {
                $this->value = $value;
                $this->updateBound();

                return true;
            }
            return false;
        }
        return $this->value;
    }
public function ruleValue ( $ value = null ) { if ( \ func_num_args ( ) > 0 ) { if ( null !== $ value && $ this -> validateValue ( $ value ) ) { $ this -> value = $ value ; $ this -> updateBound ( ) ; return true ; } return false ; } return $ this -> value ; }
Get or set the value.

Intended for use with property paths (e.g. inside form fields).

@param mixed $value

@return mixed
Get or set the value .