public function actionIndex() { require "Text/Password.php"; $textPassword = new Text_Password(); $passwords = $textPassword->createMultiple(10, 8); echo "<ul>"; foreach ($passwords as $password) { echo "<li>" . $password . "</li>"; } echo "</ul>"; }
public function testCreateMultipleWithLength() { $passwords = Text_Password::createMultiple(3, 15); $this->_testCreateMultiple($passwords, 3, 15); }