summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 22:17:01 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 22:17:01 +0100
commit4fea3363bafc0c19f610fa3bff10b488733a4eb1 (patch)
tree2fda6cf6bef0ea9afed8296a9b512fb285657e44 /documentation
parent20559a70bfd9d18c6ba3138878c0e1936a78e684 (diff)
update documentation
Diffstat (limited to 'documentation')
-rw-r--r--documentation/classes-and-objects.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/classes-and-objects.html b/documentation/classes-and-objects.html
index 32ca15c..6e565ab 100644
--- a/documentation/classes-and-objects.html
+++ b/documentation/classes-and-objects.html
@@ -484,8 +484,8 @@ extern "C" {
<p>
In the previous section we showed how to use the Php::Final and Php::Abstract
flags to create a final or abstract method. If you want to make your entire
- class abstract or final, you can do so by using Php::FinalClass or
- Php::AbstractClass instead of Php::Class.
+ class abstract or final, you can do so by passing that flag to the Php::Class
+ constructor.
</p>
<p>
<pre class="language-c++"><code>
@@ -504,7 +504,7 @@ extern "C" {
static Php::Extension myExtension("my_extension", "1.0");
// description of the class so that PHP knows which methods are accessible
- Php::FinalClass&lt;Counter&gt; counter("Counter");
+ Php::Class&lt;Counter&gt; counter("Counter", Php::Final);
// register methods
...