X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/restate/vendor/mnapoli/front-yaml/src
home
/
gfecatvj
/
sites
/
restate
/
vendor
/
mnapoli
/
front-yaml
/
src
/
📁
..
📁
Bridge
📄
Document.php
(903 B)
📁
Markdown
📄
Parser.php
(2.32 KB)
📁
YAML
Editing: Document.php
<?php /** * FrontYAML * * @copyright Matthieu Napoli http://mnapoli.fr * @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) */ namespace Mni\FrontYAML; /** * Document. * * @author Matthieu Napoli <matthieu@mnapoli.fr> */ class Document { /** * @var mixed */ private $yaml; /** * @var string */ private $content; /** * @param mixed $yaml YAML content. * @param string $content Content of the document. */ public function __construct($yaml, $content) { $this->yaml = $yaml; $this->content = $content; } /** * @return mixed YAML content. */ public function getYAML() { return $this->yaml; } /** * @return string Content of the document. */ public function getContent() { return $this->content; } }
Upload File
Create Folder