/** * Get database object * * Returns an object, which provides plugin developers with methods for connecting to database, executing SQL queries and fetching results. * @return \Ip\Db Database object. */ function ipDb() { return \Ip\ServiceLocator::db(); }