Untrack configuration includes
This commit is contained in:
parent
7bd8f9c7c3
commit
8c869f6049
3 changed files with 4 additions and 1 deletions
13
HostOption.php.example
Normal file
13
HostOption.php.example
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
class HostOption {
|
||||
private static $values = array(
|
||||
'api.github.com' => array('Authorization: token xxx'),
|
||||
'gitlab.com' => array('PRIVATE-TOKEN: xxx')
|
||||
);
|
||||
public static function get(string $key) {
|
||||
return array_key_exists($key, self::$values) ? self::$values[$key] : false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue