src/main/php/Properties.php
public function value(string $section, string $key, $default = null)
    {
        if (isset($this->propertyData[$section]) && isset($this->propertyData[$section][$key])) {
            return $this->propertyData[$section][$key];
        }

        return $default;
    }
public function value(string $section, string $key, $default = null)
    {
        if (isset($this->propertyData[$section]) && isset($this->propertyData[$section][$key])) {
            return $this->propertyData[$section][$key];
        }

        return $default;
    }
public function value ( string $ section , string $ key , $ default = null ) { if ( isset ( $ this -> propertyData [ $ section ] ) && isset ( $ this -> propertyData [ $ section ] [ $ key ] ) ) { return $ this -> propertyData [ $ section ] [ $ key ] ; } return $ default ; }
returns a value from a section or a default value if the section or key does not exist

@api
@param   string  $section  name of the section
@param   string  $key      name of the key
@param   mixed   $default  value to return if section or key does not exist
@return  scalar
@since   4.0.0
returns a value from a section or a default value if the section or key does not exist