File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 12
12
use Gitlab \HttpClient \Listener \AuthListener ;
13
13
14
14
/**
15
- * Simple yet very cool PHP GitHub client
16
- *
17
- * @author Joseph Bielawski <[email protected] >
18
- *
19
- * Website: http://github.com/KnpLabs/php-github-api
15
+ * Simple API wrapper for Gitlab
20
16
*/
21
17
class Client
22
18
{
@@ -43,14 +39,14 @@ class Client
43
39
private $ base_url = null ;
44
40
45
41
/**
46
- * The Buzz instance used to communicate with GitHub
42
+ * The Buzz instance used to communicate with Gitlab
47
43
*
48
44
* @var HttpClient
49
45
*/
50
46
private $ httpClient ;
51
47
52
48
/**
53
- * Instantiate a new GitHub client
49
+ * Instantiate a new Gitlab client
54
50
*
55
51
* @param null|ClientInterface $httpClient Buzz client
56
52
*/
@@ -120,8 +116,7 @@ public function api($name)
120
116
/**
121
117
* Authenticate a user for all next requests
122
118
*
123
- * @param string $tokenOrLogin GitHub private token/username/client ID
124
- * @param null|string $password GitHub password/secret
119
+ * @param string $token Gitlab private token
125
120
* @param null|string $authMethod One of the AUTH_* class constants
126
121
*/
127
122
public function authenticate ($ token , $ authMethod = null )
Original file line number Diff line number Diff line change 14
14
use Gitlab \HttpClient \Message \Response ;
15
15
16
16
/**
17
- * Performs requests on GitHub API. API documentation should be self-explanatory.
17
+ * Performs requests on Gitlab API. API documentation should be self-explanatory.
18
18
*
19
19
* @author Joseph Bielawski <[email protected] >
20
20
*/
Original file line number Diff line number Diff line change 5
5
use Gitlab \Exception \InvalidArgumentException ;
6
6
7
7
/**
8
- * Performs requests on GitHub API. API documentation should be self-explanatory.
8
+ * Performs requests on Gitlab API. API documentation should be self-explanatory.
9
9
*
10
10
* @author Joseph Bielawski <[email protected] >
11
11
*/
You can’t perform that action at this time.
0 commit comments