diff options
author | Matt Farina <[email protected]> | 2013-10-02 08:16:50 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-10-02 08:16:50 -0400 |
commit | c8d2617657ab014244488594674c814933247578 (patch) | |
tree | 4275626c10dccfe5ed9598efd6b6e4997052de1d | |
parent | 827e2dc07ed34500949ae573a2c9dae1240c91b2 (diff) |
Added a couple more docs for phpdoc.
-rw-r--r-- | src/HTML5/Serializer/HTML5Entities.php | 4 | ||||
-rw-r--r-- | src/HTML5/Serializer/OutputRules.php | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/HTML5/Serializer/HTML5Entities.php b/src/HTML5/Serializer/HTML5Entities.php index a65a6e7..5717002 100644 --- a/src/HTML5/Serializer/HTML5Entities.php +++ b/src/HTML5/Serializer/HTML5Entities.php @@ -10,6 +10,10 @@ */ namespace HTML5\Serializer; +/** + * A mapping of entities to their html5 representation. Used for older PHP + * versions that don't have the mapping. + */ class HTML5Entities { public static $map = array ( ' ' => '	', diff --git a/src/HTML5/Serializer/OutputRules.php b/src/HTML5/Serializer/OutputRules.php index 5ec06f6..c40858c 100644 --- a/src/HTML5/Serializer/OutputRules.php +++ b/src/HTML5/Serializer/OutputRules.php @@ -10,6 +10,9 @@ namespace HTML5\Serializer; use \HTML5\Elements; +/** + * Generate the output html5 based on element rules. + */ class OutputRules implements \HTML5\Serializer\RulesInterface { const IM_IN_HTML = 1; |