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