Setup to present different mail bundle types
This commit is contained in:
@@ -37,6 +37,20 @@ final class FSC45 extends Packet
|
||||
|
||||
public const TYPE = '2.2';
|
||||
|
||||
public function __get($key)
|
||||
{
|
||||
switch ($key) {
|
||||
case 'product':
|
||||
return Arr::get($this->header,'prodcode');
|
||||
|
||||
case 'software_ver':
|
||||
return Arr::get($this->header,'prodrev-maj');
|
||||
|
||||
default:
|
||||
return parent::__get($key);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create our message packet header
|
||||
*/
|
||||
|
Reference in New Issue
Block a user