/** * Singleton feature. */ public static function getInstance() { if (VoxbBase::$instance == NULL) { VoxbBase::$instance = new VoxbBase(); } return VoxbBase::$instance; }