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 HasPrivacy
{
#[ORM\Column(type: 'boolean')]
private bool $private = false;
public function isPrivate(): bool
return $this->private;
}
public function setPrivate(bool $private): void
$this->private = $private;