src/db/DbConnector.php
public function stopDebug($type = "")
    {
        if (!Text::isEmpty($type) && !in_array($type, ["exec", "query"])) {
            throw new DbException("Invalid filter type. Valid filter types are 'exec' and 'query'");
        }
        
        $types = Text::isEmpty($type)? ["exec", "query"]: [$type];
        foreach ($types as $type) {
            $this->_debugger->off($type, $this->_debugListener);
        }
    }
public function stopDebug($type = "")
    {
        if (!Text::isEmpty($type) && !in_array($type, ["exec", "query"])) {
            throw new DbException("Invalid filter type. Valid filter types are 'exec' and 'query'");
        }
        
        $types = Text::isEmpty($type)? ["exec", "query"]: [$type];
        foreach ($types as $type) {
            $this->_debugger->off($type, $this->_debugListener);
        }
    }
public function stopDebug ( $ type = "" ) { if ( ! Text :: isEmpty ( $ type ) && ! in_array ( $ type , [ "exec" , "query" ] ) ) { throw new DbException ( "Invalid filter type. Valid filter types are 'exec' and 'query'" ) ; } $ types = Text :: isEmpty ( $ type ) ? [ "exec" , "query" ] : [ $ type ] ; foreach ( $ types as $ type ) { $ this -> _debugger -> off ( $ type , $ this -> _debugListener ) ; } }
Stops the debugger mechanism.

@param string $type Listener type ('query' or 'exec', not required)

@return void
Stops the debugger mechanism .