class SecurityPolicy implements Policy

Default-deny policy.

Constants

ALL

Methods

static SecurityPolicy
createSafePolicy()

No description

allowMacros(array $macros)

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
isMacroAllowed(string $macro)

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 46
static SecurityPolicy createSafePolicy()

No description

Return Value

SecurityPolicy

at line 81
SecurityPolicy allowMacros(array $macros)

No description

Parameters

array $macros

Return Value

SecurityPolicy

at line 91
SecurityPolicy allowFilters(array $filters)

No description

Parameters

array $filters

Return Value

SecurityPolicy

at line 101
SecurityPolicy allowFunctions(array $functions)

No description

Parameters

array $functions

Return Value

SecurityPolicy

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

No description

Parameters

string $class
array $methods

Return Value

SecurityPolicy

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

No description

Parameters

string $class
array $properties

Return Value

SecurityPolicy

at line 130
bool isMacroAllowed(string $macro)

No description

Parameters

string $macro

Return Value

bool

at line 136
bool isFilterAllowed(string $filter)

No description

Parameters

string $filter

Return Value

bool

at line 142
bool isFunctionAllowed(string $function)

No description

Parameters

string $function

Return Value

bool

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

No description

Parameters

string $class
string $method

Return Value

bool

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

No description

Parameters

string $class
string $property

Return Value

bool

Traits

Better OOP experience.