_updraftplus_capath); } /** * Here, we pull something that we've added out of the connection string, before carrying on with the previous processing * * @param string $connection_string the string for the connection * @param string $endpoint Azure BLOB storage endpoint * @return array */ public function createBlobService($connection_string, $endpoint) { // Remove our bit if (false !== ($i = strpos($connection_string, ';SSLCAPath='))) { $this->_updraftplus_capath = substr($connection_string, $i + 11); $connection_string = substr($connection_string, 0, $i); } return parent::createBlobService($connection_string, $endpoint); } /** * We modified this because the instance was a private variable, and we also need to invoke ourself, not the parent * * @return array */ public static function getInstance() { if (!isset(self::$_updraftplus_instance)) { self::$_updraftplus_instance = new UpdraftPlus_ServicesBuilder(); } return self::$_updraftplus_instance; } }