1 | <?php |
||
17 | class BusHelper implements HelperInterface |
||
18 | { |
||
19 | private $helperSet; |
||
20 | |||
21 | private $commandBus; |
||
22 | |||
23 | private $queryBus; |
||
24 | |||
25 | 7 | public function __construct(BusInterface $commandBus, BusInterface $queryBus) |
|
30 | |||
31 | 7 | public function setHelperSet(HelperSet $helperSet = null) |
|
35 | |||
36 | /** |
||
37 | * Gets the helper set associated with this helper. |
||
38 | * |
||
39 | * @return HelperSet A HelperSet instance |
||
40 | */ |
||
41 | public function getHelperSet() |
||
45 | |||
46 | /** |
||
47 | * Returns the canonical name of this helper. |
||
48 | * |
||
49 | * @return string The canonical name |
||
50 | */ |
||
51 | 7 | public function getName() |
|
55 | |||
56 | 1 | public function postCommand($message) |
|
60 | |||
61 | public function postQuery($message) |
||
65 | } |
||
66 |
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.