mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized dom management
This commit is contained in:
@@ -4,6 +4,8 @@ namespace Infinito\Attribut;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*
|
||||
* @see GrantAttributInterface
|
||||
*/
|
||||
trait GrantAttribut
|
||||
{
|
||||
@@ -12,11 +14,17 @@ trait GrantAttribut
|
||||
*/
|
||||
protected $grant;
|
||||
|
||||
/**
|
||||
* @param bool $grant
|
||||
*/
|
||||
public function setGrant(bool $grant): void
|
||||
{
|
||||
$this->grant = $grant;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getGrant(): bool
|
||||
{
|
||||
return $this->grant;
|
||||
|
Reference in New Issue
Block a user