PHP Class Prose\FromUsers

Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer

Méthodes publiques

Méthode Description
generateNewPassword ( integer $minLength = 8, integer $maxLength = 20 ) : string generates a random password of the requested length
getUser ( string $userId ) : DataSift\Stone\ObjectLib\BaseObject return a user from the test users file

Method Details

generateNewPassword() public méthode

generates a random password of the requested length
public generateNewPassword ( integer $minLength = 8, integer $maxLength = 20 ) : string
$minLength integer minimum number of characters to include
$maxLength integer maximum number of characters to include
Résultat string the generated password

getUser() public méthode

return a user from the test users file
public getUser ( string $userId ) : DataSift\Stone\ObjectLib\BaseObject
$userId string the ID of the user to retrieve
Résultat DataSift\Stone\ObjectLib\BaseObject