| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class ComputopFactory extends AbstractFactory |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @return \SprykerEco\Client\Computop\Zed\ComputopStubInterface |
||
| 20 | */ |
||
| 21 | public function createZedStub() |
||
| 22 | { |
||
| 23 | return new ComputopStub( |
||
| 24 | $this->getZedRequestClient(), |
||
| 25 | $this->getConfig() |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return \Spryker\Client\ZedRequest\ZedRequestClientInterface |
||
| 31 | */ |
||
| 32 | protected function getZedRequestClient() |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return \Spryker\Client\Shipment\ShipmentClientInterface |
||
| 39 | */ |
||
| 40 | public function getShipmentClient(): \Spryker\Client\Shipment\ShipmentClientInterface |
||
| 46 |