forked from phpv8/v8js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue phpv8#72: Simplify export of V8Js properties to JavaScript.
Instead of using special JavaScript accessors for the `PHP` object, we just reuse the standard PHP object wrapping. To control which properties are visible to JavaScript, we use a separate PHP V8UserProperties object for the JavaScript-visible stuff. We need to use __get/__set/etc magic methods (instead of the object handler equivalents) in order to make things work properly with derived classes.
- Loading branch information
Showing
4 changed files
with
102 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.