diff --git a/src/Node.php b/src/Node.php index ce94b26..02d8cdf 100644 --- a/src/Node.php +++ b/src/Node.php @@ -12,11 +12,12 @@ namespace Canteen\HTML5 * echo html('br'); * * @class Node + * @extends Proto * @constructor * @param {String} [tag=null] The name of the tag * @param {Array|String} [attributes=null] The collection of tag attributes */ - class Node + class Node extends Proto { /** * The string name of the tag diff --git a/src/Proto.php b/src/Proto.php new file mode 100644 index 0000000..df7c16d --- /dev/null +++ b/src/Proto.php @@ -0,0 +1,37 @@ +