Appearance
GitLabApi
php
interface Zairakai\LaravelDevTools\Update\GitLabApiA call of the API of GitLab.
Source: src/Update/GitLabApi.php
Methods
call()
php
public function call(string $method, string $path, array $body = null, string $token = null): array| Parameter | Description |
|---|---|
$token | The token of the call, GITLAB_TOKEN when not given. |
Returns array{status: int, ok: bool, data: mixed}
startUpdate()
php
public function startUpdate(string $projectId, string $token = null): arrayStarts the update of the dependencies in a project: a pipeline of develop with UPDATE_DEPENDENCIES.
Returns array{status: int, ok: bool, data: mixed}