for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Bone\BoneDoctrine\Traits;
use Doctrine\ORM\Mapping as ORM;
trait HasTelephone
{
#[ORM\Column(length: 20)]
private string $telephone = '';
public function getTelephone(): string
return $this->telephone;
}
public function setTelephone(string $telephone): void
$this->telephone = $telephone;