src/Service/Config/Security.php
protected function evalBool($value, $name, $group)
    {
        $result = ($value === static::VALUE_TRUE || $value === static::VALUE_FALSE);
        if ($result === false) {
            $this->pool->messages->addMessage(static::KEY_CONFIG_ERROR_BOOL, array($group, $name));
        }

        return $result;
    }
protected function evalBool($value, $name, $group)
    {
        $result = ($value === static::VALUE_TRUE || $value === static::VALUE_FALSE);
        if ($result === false) {
            $this->pool->messages->addMessage(static::KEY_CONFIG_ERROR_BOOL, array($group, $name));
        }

        return $result;
    }
protected function evalBool ( $ value , $ name , $ group ) { $ result = ( $ value === static :: VALUE_TRUE || $ value === static :: VALUE_FALSE ) ; if ( $ result === false ) { $ this -> pool -> messages -> addMessage ( static :: KEY_CONFIG_ERROR_BOOL , array ( $ group , $ name ) ) ; } return $ result ; }
Evaluates a string of 'true' or 'false'.

@param string $value
The string we want to evaluate.
@param string $name
The name of the value we are checking, needed for the feedback text.
@param string $group
The name of the group that we are evaluating, needed for the feedback
text.

@return bool
Whether it does evaluate or not.
Evaluates a string of true or false .