summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-19 09:56:03 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-19 09:56:03 +0100
commitf2d205fa498388022f8915db211284326d0f2a4e (patch)
treeba12f85fdd36f4907fb2fa76ad9be1a87f6ba746 /documentation
parentdd8a17b8e6696566eb1d2be453a4c21cf8e41b66 (diff)
documentation update
Diffstat (limited to 'documentation')
-rw-r--r--documentation/classes-and-objects.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/documentation/classes-and-objects.html b/documentation/classes-and-objects.html
index 78a3292..e0087b6 100644
--- a/documentation/classes-and-objects.html
+++ b/documentation/classes-and-objects.html
@@ -577,9 +577,11 @@ extern "C" {
<p>
In case you want your extension to <i>define</i> an interface, so that the
interface can be implemented from PHP user space scripts, you can do that
- almost similar to how you would define an abstract class. The only difference
- is that you will not use a Php::Class instance to define the methods, but
- a Php::Interface instance.
+ almost in a similar way to how you would define an abstract class. The only
+ difference is that you will not use a Php::Class instance to define the
+ methods, but a Php::Interface instance. The interface does not have to be
+ linked to a real C++ class (it is an interface after all), so the
+ Php::Interface does not have to be passed the name of a C++ class.
</p>
<p>
<pre class="language-c++"><code>