Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace Tests\Providers\Qr; | ||||
4 | |||||
5 | use RobThree\Auth\Providers\Qr\IQRCodeProvider; | ||||
6 | |||||
7 | class TestQrProvider implements IQRCodeProvider | ||||
8 | { | ||||
9 | /** | ||||
10 | * {@inheritdoc} | ||||
11 | */ | ||||
12 | public function getQRCodeImage($qrtext, $size) | ||||
13 | { | ||||
14 | return $qrtext . '@' . $size; | ||||
15 | } | ||||
16 | |||||
17 | /** | ||||
18 | * {@inheritdoc} | ||||
19 | */ | ||||
20 | public function getMimeType() | ||||
21 | { | ||||
22 | return 'test/test'; | ||||
23 | } | ||||
24 | } |