Passed
Push — master ( 39a14a...98f505 )
by Scrutinizer
01:35
created

Config::getInfoServer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * Main Class of \KEINOS\MSTDN_TOOLS\Config.
5
 *
6
 * Public method/properties must be defined here.
7
 *
8
 * Note:
9
 * - The only public method "__construct()" was defined in "ConfigProtectedMethods".
10
 * - Constants even public must be defined in "ConfigConstants".
11
 * - Public but static method/properties must be defined in "ConfigStaticMethods".
12
 * - Protected methods/properties must be defined in "ConfigProtectedMethods".
13
 */
14
15
 declare(strict_types=1);
16
17
namespace KEINOS\MSTDN_TOOLS;
18
19
final class Config extends ConfigProtectedMethods
20
{
21
    // Public method "__construct()" was defined in "ConfigProtectedMethods".
22
    //public function __construct()
23
24
    public function getUrlHost(): string
25
    {
26
        return $this->url_host;
27
    }
28
29
    /**
30
     * @return array<mixed,mixed>
31
     */
32
    public function getInfoServer(): array
33
    {
34
        return $this->info_server;
35
    }
36
}
37