<?php declare(strict_types=1);
namespace Sq\Service\Security\Voter\Invoice;
use Sq\Service\Security\Voter\SecurityAttributes;
class EditInvoiceVoter extends AbstractInvoiceVoter
{
protected function getSupportedAttributeName(): string
{
return SecurityAttributes::EDIT;
}
protected function getValidRolesForAttribute(): array
{
return [];
}
protected function isAllowedWhenImpersonating(): bool
{
return false;
}
}