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\Photo;
final class PhotoFormatter extends NodeFormatter implements NodeFormatterInterface
{
/** @var Photo */
protected $photo;
public function __construct(Photo $photo)
$this->photo = $photo;
}
public function getVcfString(): string
return Photo::getNode() . ':' . $this->photo->getValue();