1234567891011121314151617181920212223242526272829 |
- <?php
- namespace YahnisElsts\PluginUpdateChecker\v5p0\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;
|