AsSecurityVoter

final readonly class \TYPO3\CMS\Core\Attribute\AsSecurityVoter

Service tag to register a voter of the authorization checker. The class must implement Symfony's VoterInterface, usually by extending its Voter.

Attributes

#[Attribute]
\Attribute::TARGET_CLASS

Table of Contents

Constants

TAG_NAME  : string = 'security.voter'

Properties

$priority  : int
Voters with a higher priority are asked first. The voters shipped with TYPO3 Core use the default priority of 0.

Methods

__construct()  : mixed

Constants

TAG_NAME

public string TAG_NAME = 'security.voter'

Properties

$priority

Voters with a higher priority are asked first. The voters shipped with TYPO3 Core use the default priority of 0.

public int $priority = 0

Methods

__construct()

public __construct([int $priority = 0 ]) : mixed

Parameters

$priority : int = 0
On this page