diff options
author | Rico Antonio Felix <ricoantoniofelix@yahoo.com> | 2015-06-23 21:22:25 -0400 |
---|---|---|
committer | Rico Antonio Felix <ricoantoniofelix@yahoo.com> | 2015-06-23 21:22:25 -0400 |
commit | deb41cf1ab203b3f57028d329b8865193a9bd813 (patch) | |
tree | 22c2db0fc3487b0c7b661d6204edd7ceddc6cdc3 /include | |
parent | 24d40fb895b384c728213afd524a16d250148a0d (diff) |
Enhanced documentation
Diffstat (limited to 'include')
-rw-r--r-- | include/constant.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/constant.h b/include/constant.h index 0f2b354..4a120f4 100644 --- a/include/constant.h +++ b/include/constant.h @@ -1,12 +1,13 @@ /** - * Constant.h + * @file constant.h * * If you want to define global PHP constants, or class constants you can * use this constant class for it. Wrap the constant you'd like to create - * in a Php::Constant object and add it to the extension or the class: + * in a Php::Constant object and add it to the extension or the class. * - * extension.add(Php::Constant("CONSTANT_NAME", "value")); - * myclass.add(Php::Constant("CLASS_CONSTANT", "value")); + * Examples: + * extension.add(Php::Constant("CONSTANT_NAME", "value")); + * myclass.add(Php::Constant("CLASS_CONSTANT", "value")); * * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com> * @copyright 2015 Copernica BV |