Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
27 | 1 | public function getMessageString($withSeq = true, $withCrc = true): string |
|
28 | { |
||
29 | 1 | $this->newMessage('25'); |
|
30 | 1 | $this->addFixedOption($this->datestamp(), 18); |
|
31 | 1 | $this->addVarOption('AO', $this->getVariable('InstitutionId')); |
|
32 | 1 | $this->addVarOption('AA', $this->getVariable('PatronIdentifier')); |
|
33 | 1 | $this->addVarOption('AC', $this->getVariable('TerminalPassword'), true); |
|
34 | 1 | $this->addVarOption('AD', $this->getVariable('PatronPassword'), true); |
|
35 | |||
36 | 1 | return $this->returnMessage($withSeq, $withCrc); |
|
37 | } |
||
39 |