note 111055 deleted from closure.bindto by aharvey
| From: | aharvey@php.net | Date: | Thu, 10 Jan 2013 07:21:32 +0000 |
| Subject: | note 111055 deleted from closure.bindto by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192871@lists.php.net to get a copy of this message | ||
Note Submitter: ptrofimov at yandex dot ru
----
You can have a look at implementation of dynamic object:
https://github.com/ptrofimov/jslikeobject
1. You can dinamically add methods to objects
2. You can use $this inside closures
3. You can inherit one dynamic object from another
Implemented via Closure::bindTo