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