Sha256: c9a968419d5dd63a126f3a8bcc4b5423857aa38405061760173644cd9a5f94fb
Contents?: true
Size: 641 Bytes
Versions: 10
Compression:
Stored size: 641 Bytes
Contents
<?php namespace MtHaml\Node; use MtHaml\Nodevisitor\NodeVisitorInterface; class Text extends EscapableAbstract { private $content; public function __construct(array $position, $content) { parent::__construct($position); $this->content = $content; } public function getContent() { return $this->content; } public function getNodeName() { return 'text'; } public function accept(NodeVisitorInterface $visitor) { $visitor->enterText($this); $visitor->leaveText($this); } public function isConst() { return true; } }
Version data entries
10 entries across 10 versions & 1 rubygems