/** * Get the database connection * * @return object */ private static function getDbh() { if (!self::$dbh) { self::$dbh = App::get('db'); } return self::$dbh; }