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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.