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 VendorTrait;
use TimestampableTrait;
/** @var int|null */
protected $id;
/** @var string|null */
protected $value;
public function __construct()
$this->createdAt = new \DateTime();
}
/**
* {@inheritdoc}
*/
public function getId(): ?int
return $this->id;
public function getValue(): ?string
return $this->value;
public function setValue(?string $value): void
$this->value = $value;