mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 05:26:13 +00:00
16 lines
363 B
PHP
16 lines
363 B
PHP
<?php
|
|
|
|
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;
|
|
}
|