Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de la classe SecurityPolicy
Graphe d'héritage de SecurityPolicy:
SecurityPolicyInterface

Fonctions membres publiques

 __construct (array $allowedTags=[], array $allowedFilters=[], array $allowedMethods=[], array $allowedProperties=[], array $allowedFunctions=[])
 setAllowedTags (array $tags)
 setAllowedFilters (array $filters)
 setAllowedMethods (array $methods)
 setAllowedProperties (array $properties)
 setAllowedFunctions (array $functions)
 checkSecurity ($tags, $filters, $functions)
 checkMethodAllowed ($obj, $method)
 checkPropertyAllowed ($obj, $property)

Description détaillée

Represents a security policy which need to be enforced when sandbox mode is enabled.

Auteur
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Documentation des fonctions membres

◆ checkMethodAllowed()

checkMethodAllowed ( $obj,
$method )
Paramètres
object$obj
string$method
Exceptions
SecurityNotAllowedMethodError

Implémente SecurityPolicyInterface.

◆ checkPropertyAllowed()

checkPropertyAllowed ( $obj,
$property )
Paramètres
object$obj
string$property
Exceptions
SecurityNotAllowedPropertyError

Implémente SecurityPolicyInterface.

◆ checkSecurity()

checkSecurity ( $tags,
$filters,
$functions )
Paramètres
string[]$tags
string[]$filters
string[]$functions
Exceptions
SecurityError

Implémente SecurityPolicyInterface.


La documentation de cette classe a été générée à partir du fichier suivant :