for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JeroenDesloovere\VCard\Formatter\Property;
use JeroenDesloovere\VCard\Property\SimpleNodeInterface;
class SimpleNodeFormatter extends NodeFormatter implements NodeFormatterInterface
{
/**
* @var SimpleNodeInterface
*/
protected $node;
public function __construct(SimpleNodeInterface $node)
$this->node = $node;
}
public function getVcfString(): string
return $this->node->getNode() . ':' . $this->escape($this->node->__toString());