Initial Commit
This commit is contained in:
27
dependencies/yahnis-elsts/plugin-update-checker/Puc/v4p11/Vcs/BaseChecker.php
vendored
Normal file
27
dependencies/yahnis-elsts/plugin-update-checker/Puc/v4p11/Vcs/BaseChecker.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
if ( !interface_exists('Puc_v4p11_Vcs_BaseChecker', false) ):
|
||||
|
||||
interface Puc_v4p11_Vcs_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 Puc_v4p11_Vcs_Api
|
||||
*/
|
||||
public function getVcsApi();
|
||||
}
|
||||
|
||||
endif;
|
Reference in New Issue
Block a user