You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2023. It is now read-only.
* @param string|array $messages The message as an array of lines or a single string
36
+
* @param bool $newline Whether to add a newline
37
+
* @param int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
* Writes a message to the output and adds a newline at the end.
59
+
*
60
+
* @param string|array $messages The message as an array of lines of a single string
61
+
* @param int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
62
+
*/
63
+
publicfunctionwriteln($messages, $options = 0)
64
+
{
65
+
$this->write($messages, true, $options);
66
+
}
67
+
68
+
/**
69
+
* Sets the verbosity of the output.
70
+
*
71
+
* @param int $level The level of verbosity (one of the VERBOSITY constants)
72
+
*/
73
+
publicfunctionsetVerbosity($level)
74
+
{
75
+
// TODO: Implement setVerbosity() method.
76
+
}
77
+
78
+
/**
79
+
* Gets the current verbosity of the output.
80
+
*
81
+
* @return int The current level of verbosity (one of the VERBOSITY constants)
82
+
*/
83
+
publicfunctiongetVerbosity()
84
+
{
85
+
returnself::VERBOSITY_NORMAL;
86
+
}
87
+
88
+
/**
89
+
* Returns whether verbosity is quiet (-q).
90
+
*
91
+
* @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise
92
+
*/
93
+
publicfunctionisQuiet()
94
+
{
95
+
returnfalse;
96
+
}
97
+
98
+
/**
99
+
* Returns whether verbosity is verbose (-v).
100
+
*
101
+
* @return bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise
102
+
*/
103
+
publicfunctionisVerbose()
104
+
{
105
+
returnfalse;
106
+
}
107
+
108
+
/**
109
+
* Returns whether verbosity is very verbose (-vv).
110
+
*
111
+
* @return bool true if verbosity is set to VERBOSITY_VERY_VERBOSE, false otherwise
112
+
*/
113
+
publicfunctionisVeryVerbose()
114
+
{
115
+
returnfalse;
116
+
}
117
+
118
+
/**
119
+
* Returns whether verbosity is debug (-vvv).
120
+
*
121
+
* @return bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise
122
+
*/
123
+
publicfunctionisDebug()
124
+
{
125
+
returnfalse;
126
+
}
127
+
128
+
/**
129
+
* Sets the decorated flag.
130
+
*
131
+
* @param bool $decorated Whether to decorate the messages
132
+
*/
133
+
publicfunctionsetDecorated($decorated)
134
+
{
135
+
// TODO: Implement setDecorated() method.
136
+
}
137
+
138
+
/**
139
+
* Gets the decorated flag.
140
+
*
141
+
* @return bool true if the output will decorate messages, false otherwise
0 commit comments