| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class EndSessionResponse extends SIP2Response |
||
| 21 | { |
||
| 22 | //fixed part of response contains these |
||
| 23 | protected $var = [ |
||
| 24 | 'EndSession' => [], |
||
| 25 | 'TransactionDate' => [] |
||
| 26 | ]; |
||
| 27 | |||
| 28 | //variable part of the response allowed to contain these... |
||
| 29 | protected $allowedVariables=[ |
||
| 30 | self::AO_INSTITUTION_ID, |
||
| 31 | self::AA_PATRON_IDENTIFIER, |
||
| 32 | self::AF_SCREEN_MESSAGE, |
||
| 33 | self::AG_PRINT_LINE, |
||
| 34 | self::AY_SEQUENCE_NUMBER |
||
| 35 | ]; |
||
| 36 | |||
| 37 | 4 | public function __construct($raw) |
|
| 44 |