PHP Class Bolt\Session\Generator\RandomGenerator

Author: Carson Full ([email protected])
Inheritance: implements Bolt\Session\Generator\GeneratorInterface
ファイルを表示 Open project: bolt/bolt Class Usage Examples

Protected Properties

Property Type Description
$generator Bolt\Security\Random\Generator
$length integer

Public Methods

Method Description
__construct ( Generator $generator, integer $length = 32 ) Constructor.
generateId ( )

Method Details

__construct() public method

Constructor.
public __construct ( Generator $generator, integer $length = 32 )
$generator Bolt\Security\Random\Generator
$length integer

generateId() public method

public generateId ( )

Property Details

$generator protected_oe property

protected Generator,Bolt\Security\Random $generator
return Bolt\Security\Random\Generator

$length protected_oe property

protected int $length
return integer