| 1 | <?php |
||
| 15 | class Nfc implements NfcInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * NFC message |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $message = ''; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Encryption Public Key |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $encryptionPublicKey = ''; |
||
| 28 | |||
| 29 | public function __construct($message, $encryptionPublicKey) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function setMessage($message) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function setEncryptionPublicKey($encryptionPublicKey) |
||
| 52 | |||
| 53 | public function toArray() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * {@inheritdoc} |
||
| 64 | */ |
||
| 65 | public function getMessage() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * {@inheritdoc} |
||
| 72 | */ |
||
| 73 | public function getEncryptionPublicKey() |
||
| 77 | } |
||
| 78 | |||
| 79 |