summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
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>