mediatekformation

IsGranted extends ConfigurationAnnotation
in package

The Security class handles the Security annotation.

Tags
author

Ryan Weaver ryan@knpuniversity.com

Annotation

Table of Contents

$attributes  : mixed
Sets the first argument that will be passed to isGranted().
$message  : string
The message of the exception - has a nice default if not set.
$statusCode  : int|null
If set, will throw Symfony\Component\HttpKernel\Exception\HttpException with the given $statusCode.
$subject  : mixed
Sets the second argument passed to isGranted().
__construct()  : mixed
allowArray()  : mixed
getAliasName()  : mixed
getAttributes()  : mixed
getMessage()  : mixed
getStatusCode()  : mixed
getSubject()  : mixed
setAttributes()  : mixed
setMessage()  : mixed
setStatusCode()  : mixed
setSubject()  : mixed
setValue()  : mixed

Properties

$attributes

Sets the first argument that will be passed to isGranted().

private mixed $attributes

$message

The message of the exception - has a nice default if not set.

private string $message

$statusCode

If set, will throw Symfony\Component\HttpKernel\Exception\HttpException with the given $statusCode.

private int|null $statusCode

If null, Symfony\Component\Security\Core\Exception\AccessDeniedException. will be used.

$subject

Sets the second argument passed to isGranted().

private mixed $subject

Methods

__construct()

public __construct(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>
Return values
mixed

allowArray()

public allowArray() : mixed
Return values
mixed

getAliasName()

public getAliasName() : mixed
Return values
mixed

getAttributes()

public getAttributes() : mixed
Return values
mixed

getMessage()

public getMessage() : mixed
Return values
mixed

getStatusCode()

public getStatusCode() : mixed
Return values
mixed

getSubject()

public getSubject() : mixed
Return values
mixed

setAttributes()

public setAttributes(mixed $attributes) : mixed
Parameters
$attributes : mixed
Return values
mixed

setMessage()

public setMessage(mixed $message) : mixed
Parameters
$message : mixed
Return values
mixed

setStatusCode()

public setStatusCode(mixed $statusCode) : mixed
Parameters
$statusCode : mixed
Return values
mixed

setSubject()

public setSubject(mixed $subject) : mixed
Parameters
$subject : mixed
Return values
mixed

setValue()

public setValue(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results