for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\Entity;
use App\Entity\Traits\EntityIdTrait;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\CurrencyRepository")
*/
class Currency
{
use EntityIdTrait;
* @ORM\Column(type="string", length=32)
private ?string $currency_title;
* @ORM\Column(type="string", length=3)
private ?string $code;
* @ORM\Column(type="string", length=12, nullable=true)
private ?string $symbol_left;
private ?string $symbol_right;
public function getCurrencyTitle(): ?string
return $this->currency_title;
}
public function setCurrencyTitle(string $currency_title): self
$this->currency_title = $currency_title;
return $this;
public function getCode(): ?string
return $this->code;
public function setCode(string $code): self
$this->code = $code;
public function getSymbolLeft(): ?string
return $this->symbol_left;
public function setSymbolLeft(?string $symbol_left): self
$this->symbol_left = $symbol_left;
public function getSymbolRight(): ?string
return $this->symbol_right;
public function setSymbolRight(?string $symbol_right): self
$this->symbol_right = $symbol_right;