Method | Description | |
---|---|---|
loadUsersFromFile ( string $filename ) : DataSift\Stone\ObjectLib\BaseObject | load test users from the given filename | |
saveUsersToFile ( DataSift\Stone\ObjectLib\BaseObject $users, string $filename ) : void | save test users to disk | |
setUsersFileIsReadOnly ( ) | tell Storyplayer that test users loaded via the --users switch must not be saved back to disk when the stories are over |
public loadUsersFromFile ( string $filename ) : DataSift\Stone\ObjectLib\BaseObject | ||
$filename | string | the JSON file to load users from |
return | DataSift\Stone\ObjectLib\BaseObject |
public saveUsersToFile ( DataSift\Stone\ObjectLib\BaseObject $users, string $filename ) : void | ||
$users | DataSift\Stone\ObjectLib\BaseObject | the test users to save to disk |
$filename | string | the filename to save to |
return | void |
public setUsersFileIsReadOnly ( ) |