PHP Class Newscoop\Random

Mostra file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$chars array
$chars_count integer

Public Methods

Method Description
__construct ( )
getRandomString ( integer $length ) : string Generate random string

Method Details

__construct() public method

public __construct ( )

getRandomString() public method

Generate random string
public getRandomString ( integer $length ) : string
$length integer
return string

Property Details

$chars protected_oe property

protected array $chars
return array

$chars_count protected_oe property

protected int $chars_count
return integer