for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace dokuwiki\plugin\prosemirror\parser;
class SmileyNode extends Node
{
protected $parent;
protected $data;
public function __construct($data, $parent)
$this->parent = &$parent;
$this->data = $data;
}
/**
* Get the node's representation as DokuWiki Syntax
*
* @return string
*/
public function toSyntax()
return $this->data['attrs']['syntax'];