summaryrefslogtreecommitdiff
path: root/src/ste/TextNode.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-24 14:55:11 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-24 14:55:11 +0200
commitd48be01fff31a7a9d611802721aa70532d251c3a (patch)
tree53ac39214a27855a6521f91ea448e39ffcd7866b /src/ste/TextNode.php
parent3c51baa4167d5a68ff010dc81525b9340c5f1329 (diff)
downloadste-d48be01fff31a7a9d611802721aa70532d251c3a.tar.gz
ste-d48be01fff31a7a9d611802721aa70532d251c3a.tar.bz2
ste-d48be01fff31a7a9d611802721aa70532d251c3a.zip
Moved to src/ste for psr-4 compliance1.0.0
Diffstat (limited to 'src/ste/TextNode.php')
-rw-r--r--src/ste/TextNode.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ste/TextNode.php b/src/ste/TextNode.php
new file mode 100644
index 0000000..d48c2bb
--- /dev/null
+++ b/src/ste/TextNode.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace kch42\ste;
+
+class TextNode extends ASTNode {
+ public $text;
+ public function __construct($tpl, $off, $text = "") {
+ parent::__construct($tpl, $off);
+ $this->text = $text;
+ }
+} \ No newline at end of file