phplinter\Config::_parse_filter PHP Method

_parse_filter() protected method

----------------------------------------------------------------------+ FIXME ----------------------------------------------------------------------+
protected _parse_filter ( $conf )
    protected function _parse_filter($conf)
    {
        if (isset($conf['filter'])) {
            foreach (array("information" => OPT_NO_INFORMATION, "conventions" => OPT_NO_CONVENTION, "warnings" => OPT_NO_WARNING, "refactor" => OPT_NO_REFACTOR, "errors" => OPT_NO_ERROR, "deprecated" => OPT_NO_DEPRECATED, "documentation" => OPT_NO_DOCUMENTATION, "security" => OPT_NO_SECURITY) as $k => $_) {
                if (in_array($k, $conf['filter'])) {
                    $this->_flags |= $_;
                }
            }
        }
    }