public function getValue($returnObject = false){

        $returnValue = null;

        if(!is_null($this->value)){
            $returnValue = ($returnObject) ? $this->value : $this->value->getValue(); //return mixed
        }

        return $returnValue;
    }
public function getValue($returnObject = false){

        $returnValue = null;

        if(!is_null($this->value)){
            $returnValue = ($returnObject) ? $this->value : $this->value->getValue(); //return mixed
        }

        return $returnValue;
    }
public function getValue ( $ returnObject = false ) { $ returnValue = null ; if ( ! is_null ( $ this -> value ) ) { $ returnValue = ( $ returnObject ) ? $ this -> value : $ this -> value -> getValue ( ) ; //return mixed } return $ returnValue ; }
Return the value of the attribute in base type int, string, null

@return mixed
Return the value of the attribute in base type int string null