rename voter helepers

This commit is contained in:
2021-09-17 10:08:33 +02:00
parent ebb2f5d243
commit cf40f38463
10 changed files with 54 additions and 65 deletions

View File

@@ -4,4 +4,12 @@ namespace Chill\MainBundle\Security\Authorization;
interface VoterGeneratorInterface
{
/**
* @param string $class The FQDN of a class
* @param array $attributes an array of attributes
* @return $this
*/
public function addCheckFor(string $class, array $attributes): self;
public function build(): VoterHelperInterface;
}