private function getValuesAsArray()
    {
        if ($this->value === null) {
            return is_array($this->defaultValue) 
                ? $this->defaultValue 
                : [ $this->defaultValue ];
        }
        return $this->value;
    }
private function getValuesAsArray()
    {
        if ($this->value === null) {
            return is_array($this->defaultValue) 
                ? $this->defaultValue 
                : [ $this->defaultValue ];
        }
        return $this->value;
    }
private function getValuesAsArray ( ) { if ( $ this -> value === null ) { return is_array ( $ this -> defaultValue ) ? $ this -> defaultValue : [ $ this -> defaultValue ] ; } return $ this -> value ; }
Get all of the current values as an array of values

If no value is currently set, the default value will be returned
@return array<string|integer|float|boolean|null>
Get all of the current values as an array of values