| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class RedisWalletFactory implements WalletFactory |
||
| 11 | { |
||
| 12 | private $client; |
||
| 13 | private $walletKey; |
||
| 14 | |||
| 15 | public function __construct(ClientInterface $client, string $walletKey) |
||
| 16 | { |
||
| 17 | $this->client = $client; |
||
| 18 | $this->walletKey = $walletKey; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function create(Identity $identity): Wallet |
||
| 24 | } |
||
| 25 | } |
||
| 26 |