BaseChecker.php 531 B

123456789101112131415161718192021222324252627
  1. <?php
  2. if ( !interface_exists('Puc_v4p11_Vcs_BaseChecker', false) ):
  3. interface Puc_v4p11_Vcs_BaseChecker {
  4. /**
  5. * Set the repository branch to use for updates. Defaults to 'master'.
  6. *
  7. * @param string $branch
  8. * @return $this
  9. */
  10. public function setBranch($branch);
  11. /**
  12. * Set authentication credentials.
  13. *
  14. * @param array|string $credentials
  15. * @return $this
  16. */
  17. public function setAuthentication($credentials);
  18. /**
  19. * @return Puc_v4p11_Vcs_Api
  20. */
  21. public function getVcsApi();
  22. }
  23. endif;