for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Loevgaard\SyliusBrandPlugin\Entity;
class Brand implements BrandInterface
{
/**
* @var int
*/
protected $id;
* @var string
protected $slug;
protected $name;
* {@inheritdoc}
public function __toString(): string
return (string) $this->getName();
}
public function getId(): ?int
return $this->id;
public function setId(int $id): BrandInterface
$this->id = $id;
return $this;
public function getSlug(): ?string
return $this->slug;
public function setSlug(string $slug): BrandInterface
$this->slug = $slug;
public function getName(): ?string
return $this->name;
public function setName(string $name): BrandInterface
$this->name = $name;