From deb41cf1ab203b3f57028d329b8865193a9bd813 Mon Sep 17 00:00:00 2001 From: Rico Antonio Felix Date: Tue, 23 Jun 2015 21:22:25 -0400 Subject: Enhanced documentation --- include/constant.h | 9 +++++---- 1 file 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 * @copyright 2015 Copernica BV -- cgit v1.2.3