protected function debug($type, $mixed)
    {
        if ($this->config && $this->config['debugsEnabled']) {
            switch ($type) {
                case 'echo':
                    echo $mixed;
                    break;
                case 'print_r':
                    print_r($mixed);
                    break;
                case 'var_dump':
                    var_dump($mixed);
                    break;
            }
        }
    }
protected function debug($type, $mixed)
    {
        if ($this->config && $this->config['debugsEnabled']) {
            switch ($type) {
                case 'echo':
                    echo $mixed;
                    break;
                case 'print_r':
                    print_r($mixed);
                    break;
                case 'var_dump':
                    var_dump($mixed);
                    break;
            }
        }
    }
protected function debug ( $ type , $ mixed ) { if ( $ this -> config && $ this -> config [ 'debugsEnabled' ] ) { switch ( $ type ) { case 'echo' : echo $ mixed ; break ; case 'print_r' : print_r ( $ mixed ) ; break ; case 'var_dump' : var_dump ( $ mixed ) ; break ; } } }
Generates some output if debugsEnabled is set to true.

@param string $type The output type.
@param mixed $mixed The object, array, or variable.
Generates some output if debugsEnabled is set to true .