1 | <?php |
||
10 | abstract class Message |
||
11 | { |
||
12 | /** |
||
13 | * @var Record |
||
14 | */ |
||
15 | protected $recordDecoder; |
||
16 | |||
17 | 23 | public function __construct(Record $recordDecoder) |
|
21 | |||
22 | /** |
||
23 | * @param DTO\Message $message |
||
24 | * @param SimpleXMLElement $document |
||
25 | */ |
||
26 | 19 | public function addGroupHeader(DTO\Message $message, SimpleXMLElement $document) |
|
36 | |||
37 | /** |
||
38 | * @param DTO\Message $message |
||
39 | * @param SimpleXMLElement $document |
||
40 | */ |
||
41 | abstract public function addRecords(DTO\Message $message, SimpleXMLElement $document); |
||
42 | |||
43 | /** |
||
44 | * @param SimpleXMLElement $document |
||
45 | * |
||
46 | * @return SimpleXMLElement |
||
47 | */ |
||
48 | abstract public function getRootElement(SimpleXMLElement $document); |
||
49 | } |
||
50 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.