for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Odiseo\SyliusVendorPlugin\Entity;
use Sylius\Component\Resource\Model\TimestampableTrait;
class VendorEmail implements VendorEmailInterface
{
use TimestampableTrait;
/** @var int|null */
private $id;
/** @var string|null */
private $value;
/** @var VendorInterface */
protected $vendor;
public function __construct()
$this->createdAt = new \DateTime();
}
/**
* @inheritdoc
*/
public function getId()
return $this->id;
public function getValue(): ?string
return $this->value;
public function setValue(?string $value): void
$this->value = $value;
* {@inheritdoc}
public function getVendor(): ?VendorInterface
return $this->vendor;
public function setVendor(?VendorInterface $vendor): void
$this->vendor = $vendor;