PHP Interface Opis\Closure\SecurityProviderInterface

显示文件 Open project: opis/closure

Public Methods

Method Description
sign ( &$data ) : mixed Sign the serialized closure
verify ( &$data ) : string | boolean Check data integrity

Method Details

sign() public method

Sign the serialized closure
public sign ( &$data ) : mixed
return mixed

verify() public method

Check data integrity
public verify ( &$data ) : string | boolean
return string | boolean