Initial commit
This commit is contained in:
18
lib/mollie/src/Idempotency/FakeIdempotencyKeyGenerator.php
Normal file
18
lib/mollie/src/Idempotency/FakeIdempotencyKeyGenerator.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace Mollie\Api\Idempotency;
|
||||
|
||||
class FakeIdempotencyKeyGenerator implements \Mollie\Api\Idempotency\IdempotencyKeyGeneratorContract
|
||||
{
|
||||
/** @var string */
|
||||
private $fakeKey;
|
||||
public function setFakeKey($fakeKey)
|
||||
{
|
||||
$this->fakeKey = $fakeKey;
|
||||
}
|
||||
public function generate()
|
||||
{
|
||||
return $this->fakeKey;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user