note 107042 deleted from language.oop5.magic by danbrown
| From: | danbrown@php.net | Date: | Tue, 03 Jan 2012 21:46:51 +0000 |
| Subject: | note 107042 deleted from language.oop5.magic by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185284@lists.php.net to get a copy of this message | ||
Note Submitter: ixdude
----
@osbertv at yahoo dot com because that's syntax for calling method. if you want to invoke class
'a', just create method 'a' in class 'b' that will invoke object of
class 'a' using variable, eg
<?php
public function a() {
$a = $this->a;
return $a();
}
?>