1 | <?php |
||
11 | class Pointable |
||
12 | { |
||
13 | protected $referenceComponent; |
||
14 | |||
15 | public function __construct() |
||
19 | |||
20 | public function setComponent($component) |
||
25 | |||
26 | public function setReferenceComponent($referenceComponent) |
||
30 | |||
31 | public function run() |
||
35 | |||
36 | public function profileToProfile() |
||
41 | |||
42 | public function postToProfile(Post $post, Profile $profile) |
||
46 | |||
47 | } |
||
48 |
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.