mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-15 17:58:16 +02:00
25 lines
313 B
PHP
25 lines
313 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
trait GrantAttribut
|
|
{
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $grant;
|
|
|
|
public function setGrant(bool $grant): void
|
|
{
|
|
$this->grant = $grant;
|
|
}
|
|
|
|
public function getGrant(): bool
|
|
{
|
|
return $this->grant;
|
|
}
|
|
}
|