From f96fc6c53bc8bd8888aeb291441f61a65b439413 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Tue, 22 Oct 2013 13:39:21 -0700 Subject: Initial setup for dealing with object properties --- include/base.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'include/base.h') diff --git a/include/base.h b/include/base.h index 6acd805..1dc131e 100644 --- a/include/base.h +++ b/include/base.h @@ -16,6 +16,11 @@ namespace Php { class Base { public: + /** + * Constructor + */ + Base() {} + /** * Virtual destructor */ @@ -66,6 +71,28 @@ public: */ virtual void __destruct() {} + /** + * Get access to a property by name + * @param string + * @return Property + */ +// Property operator[](const char *name); + + /** + * Alternative way to access a property + * @param string + * @return Property + */ +// Property operator[](const std::string &name); + +protected: + /** + * All properties of the object + * @var Properties + */ +// Properties _properties; + +private: }; /** -- cgit v1.2.3