Compare commits

..

No commits in common. "e0402e7f3ce074c497bd7cd7329240d0c31f9280" and "e134e8133432933ee2bb84da764ec83f404656c8" have entirely different histories.

View File

@ -6,17 +6,6 @@ trait UserEntityTrait
{
public ? Taxus $taxus;
public function is(string|array $privilegeName, ...$arguments) : bool
{
foreach((array) $privilegeName as $privilege) {
if ( $this->can($privilege, ...$arguments) ) {
return true;
}
}
return false;
}
public function can(string $privilegeName, ...$arguments) : bool
{
if (! $this->taxus) {