ldc-projects-administration/config/gitlab.php
Jérémy Munsch a44f49b91d
phpcs fix
2024-01-23 12:24:20 +01:00

80 lines
2.1 KiB
PHP

<?php
declare(strict_types=1);
/*
* This file is part of Laravel GitLab.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*
|--------------------------------------------------------------------------
| Default Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the connections below you wish to use as
| your default connection for all work. Of course, you may use many
| connections at once using the manager class.
|
*/
'default' => 'main',
/*
|--------------------------------------------------------------------------
| GitLab Connections
|--------------------------------------------------------------------------
|
| Here are each of the connections setup for your application. Example
| configuration has been included, but you may add as many connections as
| you would like. Note that the 4 supported authentication methods are:
| "none", "oauth", "job_token", and "token".
|
*/
'connections' => [
'main' => [
'token' => 'your-token',
'method' => 'token'
],
'alternative' => [
'token' => 'your-token',
'method' => 'oauth'
],
],
/*
|--------------------------------------------------------------------------
| HTTP Cache
|--------------------------------------------------------------------------
|
| Here are each of the cache configurations setup for your application.
| Only the "illuminate" driver is provided out of the box. Example
| configuration has been included.
|
*/
'cache' => [
'main' => [
'driver' => 'illuminate',
'connector' => null
],
'bar' => [
'driver' => 'illuminate',
'connector' => 'redis'
],
],
];