diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-10 14:10:16 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-10 14:10:16 +0100 |
commit | 81861258bef606bcdf14d170fb73cd06e25e5ebe (patch) | |
tree | 7b9027d8d461046ee982e059da08d54f4664f4ee /documentation/magic-methods.html | |
parent | dd3422f6ed454d06e6091ad5023da7fc294595b8 (diff) |
deal with magic methods and magic interfaces that throw exceptions
Diffstat (limited to 'documentation/magic-methods.html')
-rw-r--r-- | documentation/magic-methods.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/magic-methods.html b/documentation/magic-methods.html index 87c6cc2..c7902ea 100644 --- a/documentation/magic-methods.html +++ b/documentation/magic-methods.html @@ -68,7 +68,7 @@ public: if (name == "email") return _email; // property not supported, fall back on default - Php::Base::__get(name); + return Php::Base::__get(name); } /** @@ -82,7 +82,7 @@ public: if (name == "name") { // store member - _name = value; + _name = value.stringValue(); } // we check emails for validity |