Bart\Configuration\Configuration::getBool PHP Method

getBool() protected method

protected getBool ( $section, $key, $default = null, $required = true ) : boolean
return boolean If the value equals the literal string "true"
    protected function getBool($section, $key, $default = null, $required = true)
    {
        $value = $this->getValue($section, $key, $default, $required);
        // will equal 'true' when conf is quoted, will equal '1' when literal boolean used!
        // See the unit tests for more fun realities of parse_ini_*()
        return $value === 'true' || $value === '1' || $value === true;
    }