/** * Get PDO object * * @return PDO|null */ public static function getDb() { return DiContainer::build('db')->getConnection(); }