src/Service/Config/Security.php
public function evaluateSetting($group, $name, $value)
    {
        if ($group === 'feEditing') {
            // Logging options can never be changed in the frontend.
            // The debug methods will also not be editable.
            return !in_array($name, $this->feConfigNoEdit);
        }

        // We simply call the configured evaluation method.
        $callback = $this->feConfigFallback[$name][static::EVALUATE];
        return $this->$callback($value, $name, $group);
    }
public function evaluateSetting($group, $name, $value)
    {
        if ($group === 'feEditing') {
            // Logging options can never be changed in the frontend.
            // The debug methods will also not be editable.
            return !in_array($name, $this->feConfigNoEdit);
        }

        // We simply call the configured evaluation method.
        $callback = $this->feConfigFallback[$name][static::EVALUATE];
        return $this->$callback($value, $name, $group);
    }
public function evaluateSetting ( $ group , $ name , $ value ) { if ( $ group === 'feEditing' ) { // Logging options can never be changed in the frontend. // The debug methods will also not be editable. return ! in_array ( $ name , $ this -> feConfigNoEdit ) ; } // We simply call the configured evaluation method. $ callback = $ this -> feConfigFallback [ $ name ] [ static :: EVALUATE ] ; return $ this -> $ callback ( $ value , $ name , $ group ) ; }
Evaluate a single setting from the cookies or the ini file.

@param string $group
The group value in the ini.
@param string $name
The name of the setting.
@param string $value
The value to evaluate.

@return bool
If it was evaluated.
Evaluate a single setting from the cookies or the ini file .