From f2d205fa498388022f8915db211284326d0f2a4e Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 19 Mar 2014 09:56:03 +0100 Subject: documentation update --- documentation/classes-and-objects.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'documentation') 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" {

In case you want your extension to define 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.


-- 
cgit v1.2.3