helpers\BaseConsole confirm()

confirm() public static method

Asks user to confirm by typing y or n.

public static boolean confirm ( $message, $default = false )
$message string

To print out before waiting for user input

$default boolean

This value is returned if no selection is made.

return boolean

Whether user confirmed

doc_Yii
2016-10-30 17:04:32
Comments
Leave a Comment

Please login to continue.