src/Entity/Tax.php line 9
<?phpnamespace App\Entity;use App\Repository\TaxRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: TaxRepository::class)]class Tax{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column]private ?float $value = null;public function __toString(): string{$tax = $this->value * 100;return "$tax %";}public function getId(): ?int{return $this->id;}public function getValue(): ?float{return $this->value;}public function setValue(float $value): static{$this->value = $value;return $this;}}