<?php
namespace App\Komma\Kms\Core\Attributes\Traits;
/**
* Trait ReadOnlyTrait
*/
trait ReadOnlyTrait
{
/**
* @var bool
*/
private $readOnly = false;
/**
* @return bool
*/
public function getReadOnly():bool
{
return $this->readOnly;
}
/**
* @param bool $readOnly
* @return $this
*/
public function setReadOnly(bool $readOnly)
{
$this->readOnly = $readOnly;
return $this;
}
}