public function dbConnect($dsn = null)
    {
        $this->db = $this->add('DB');
        /** @type DB $this->db */

        return $this->db->connect($dsn);
    }
public function dbConnect($dsn = null)
    {
        $this->db = $this->add('DB');
        /** @type DB $this->db */

        return $this->db->connect($dsn);
    }
public function dbConnect ( $ dsn = null ) { $ this -> db = $ this -> add ( 'DB' ) ; /** @type DB $this->db */ return $ this -> db -> connect ( $ dsn ) ; }
Use database configuration settings from config file to establish default connection.

@param mixed $dsn

@return DB
Use database configuration settings from config file to establish default connection .