PHP Class Opis\Closure\SecureClosure

Inheritance: extends SerializableClosure
Exibir arquivo Open project: opis/closure Class Usage Examples

Protected Properties

Property Type Description
$securityProvider Security provider

Public Methods

Method Description
getSecurityProvider ( ) : Opis\Closure\SecurityProviderInterface Get the security provider
serialize ( ) : string Override serialize method
setSecurityProvider ( Opis\Closure\SecurityProviderInterface $provider ) Set the security provider
unserialize ( string $data ) Override unserialize method

Method Details

getSecurityProvider() public static method

Get the security provider
public static getSecurityProvider ( ) : Opis\Closure\SecurityProviderInterface
return Opis\Closure\SecurityProviderInterface

serialize() public method

Override serialize method
public serialize ( ) : string
return string The serialized closure

setSecurityProvider() public static method

Set the security provider
public static setSecurityProvider ( Opis\Closure\SecurityProviderInterface $provider )
$provider Opis\Closure\SecurityProviderInterface Security provider

unserialize() public method

Override unserialize method
public unserialize ( string $data )
$data string Serialized data

Property Details

$securityProvider protected_oe static_oe property

Security provider
protected static $securityProvider