集成更新服务器

This commit is contained in:
文派备案 2025-04-11 10:40:13 +08:00
parent d1d3b9606f
commit cf165c6c26
124 changed files with 13125 additions and 1 deletions

View file

@ -0,0 +1,29 @@
<?php
namespace YahnisElsts\PluginUpdateChecker\v5p3\Vcs;

if ( !interface_exists(BaseChecker::class, false) ):

interface BaseChecker {
/**
* Set the repository branch to use for updates. Defaults to 'master'.
*
* @param string $branch
* @return $this
*/
public function setBranch($branch);

/**
* Set authentication credentials.
*
* @param array|string $credentials
* @return $this
*/
public function setAuthentication($credentials);

/**
* @return Api
*/
public function getVcsApi();
}

endif;