| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class EasycreditFactory extends AbstractFactory |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @return \SprykerEco\Client\Easycredit\Zed\EasycreditStubInterface |
||
| 19 | */ |
||
| 20 | public function createZedStub(): EasycreditStubInterface |
||
| 21 | { |
||
| 22 | return new EasycreditStub($this->getZedRequestClient()); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return \SprykerEco\Client\Easycredit\Dependency\Client\EasycreditToZedRequestClientInterface |
||
| 27 | */ |
||
| 28 | protected function getZedRequestClient(): EasycreditToZedRequestClientInterface |
||
| 31 | } |
||
| 32 | } |
||
| 33 |