class SecurityPolicy implements Policy

Default-deny policy.

Constants

All

ALL

Methods

static SecurityPolicy
createSafePolicy()

No description

allowTags(array $tags)

No description

allowFilters(array $filters)

No description

allowFunctions(array $functions)

No description

allowMethods(string $class, array $methods)

No description

allowProperties(string $class, array $properties)

No description

bool
isTagAllowed(string $tag)

No description

bool
isFilterAllowed(string $filter)

No description

bool
isFunctionAllowed(string $function)

No description

bool
isMethodAllowed(string $class, string $method)

No description

bool
isPropertyAllowed(string $class, string $property)

No description

Details

at line 47
static SecurityPolicy createSafePolicy()

No description

Return Value

SecurityPolicy

at line 82
SecurityPolicy allowTags(array $tags)

No description

Parameters

array $tags

Return Value

SecurityPolicy

at line 92
SecurityPolicy allowFilters(array $filters)

No description

Parameters

array $filters

Return Value

SecurityPolicy

at line 102
SecurityPolicy allowFunctions(array $functions)

No description

Parameters

array $functions

Return Value

SecurityPolicy

at line 112
SecurityPolicy allowMethods(string $class, array $methods)

No description

Parameters

string $class
array $methods

Return Value

SecurityPolicy

at line 123
SecurityPolicy allowProperties(string $class, array $properties)

No description

Parameters

string $class
array $properties

Return Value

SecurityPolicy

at line 131
bool isTagAllowed(string $tag)

No description

Parameters

string $tag

Return Value

bool

at line 137
bool isFilterAllowed(string $filter)

No description

Parameters

string $filter

Return Value

bool

at line 143
bool isFunctionAllowed(string $function)

No description

Parameters

string $function

Return Value

bool

at line 149
bool isMethodAllowed(string $class, string $method)

No description

Parameters

string $class
string $method

Return Value

bool

at line 168
bool isPropertyAllowed(string $class, string $property)

No description

Parameters

string $class
string $property

Return Value

bool

Traits

Better OOP experience.