| Total Complexity | 4 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Coverage | 45.45% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | abstract class AbstractFacade implements FacadeInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var FactoryInterface |
||
| 16 | */ |
||
| 17 | protected $factory; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var ConfigInterface |
||
| 21 | */ |
||
| 22 | private $config; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var ClientInterface |
||
| 26 | */ |
||
| 27 | private $client; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * AbstractFacade constructor. |
||
| 31 | * |
||
| 32 | * @param \Xervice\Core\Factory\FactoryInterface $factory |
||
| 33 | * @param \Xervice\Core\Config\ConfigInterface $config |
||
| 34 | * @param ClientInterface $client |
||
| 35 | */ |
||
| 36 | 3 | public function __construct( |
|
| 44 | 3 | } |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @return ConfigInterface |
||
| 48 | */ |
||
| 49 | public function getConfig() : ConfigInterface |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return FactoryInterface |
||
| 56 | */ |
||
| 57 | public function getFactory() : FactoryInterface |
||
| 58 | { |
||
| 59 | return $this->factory; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return \Xervice\Core\Client\ClientInterface |
||
| 64 | */ |
||
| 65 | public function getClient(): ClientInterface |
||
| 68 | } |
||
| 69 | } |