for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Germania\VatIdNo;
use Germania\VatIdNo\VatIdNoProviderInterface;
trait VatIdNoAwareTrait
{
use VatIdNoProviderTrait;
/**
* @inheritdoc
*/
public function setVatIdNo( $vatin )
if ($vatin instanceOf VatIdNoProviderInterface)
$vatin = $vatin->getVatIdNo();
$this->vatin = $vatin;
return $this;
}
public function setTaxNo( $taxno )
if ($taxno instanceOf VatIdNoProviderInterface)
$taxno = $taxno->getTaxNo();
$this->taxno = $taxno;