src/Service/Config/Security.php
protected function evalDebugMethods($value, $name, $group)
    {
        $list = explode(',', $value);

        foreach ($list as $entry) {
            // Test for whitespace and the blacklist.
            if (in_array($entry, $this->methodBlacklist)) {
                $this->pool->messages->addMessage(
                    static::KEY_CONFIG_ERROR_DEBUG_BLACKLIST,
                    array($group, $name, $entry)
                );
                return false;
            }
            if (strpos($entry, ' ') !== false) {
                $this->pool->messages->addMessage(
                    static::KEY_CONFIG_ERROR_DEBUG_INVALID,
                    array($group, $name, $entry)
                );
                return false;
            }
        }

        return true;
    }
protected function evalDebugMethods($value, $name, $group)
    {
        $list = explode(',', $value);

        foreach ($list as $entry) {
            // Test for whitespace and the blacklist.
            if (in_array($entry, $this->methodBlacklist)) {
                $this->pool->messages->addMessage(
                    static::KEY_CONFIG_ERROR_DEBUG_BLACKLIST,
                    array($group, $name, $entry)
                );
                return false;
            }
            if (strpos($entry, ' ') !== false) {
                $this->pool->messages->addMessage(
                    static::KEY_CONFIG_ERROR_DEBUG_INVALID,
                    array($group, $name, $entry)
                );
                return false;
            }
        }

        return true;
    }
protected function evalDebugMethods ( $ value , $ name , $ group ) { $ list = explode ( ',' , $ value ) ; foreach ( $ list as $ entry ) { // Test for whitespace and the blacklist. if ( in_array ( $ entry , $ this -> methodBlacklist ) ) { $ this -> pool -> messages -> addMessage ( static :: KEY_CONFIG_ERROR_DEBUG_BLACKLIST , array ( $ group , $ name , $ entry ) ) ; return false ; } if ( strpos ( $ entry , ' ' ) !== false ) { $ this -> pool -> messages -> addMessage ( static :: KEY_CONFIG_ERROR_DEBUG_INVALID , array ( $ group , $ name , $ entry ) ) ; return false ; } } return true ; }
Sanity check, if the supplied debug methods are not obviously flawed.

@param string $value
Comma separated list of debug methods.
@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.
Sanity check if the supplied debug methods are not obviously flawed .