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