Output
class Output
Class Output
Constants
VERBOSITY_ALWAYS |
|
VERBOSITY_QUIET |
|
VERBOSITY_NORMAL |
|
VERBOSITY_VERBOSE |
|
VERBOSITY_VERY_VERBOSE |
|
VERBOSITY_DEBUG |
|
Properties
protected int | $verbosity |
Methods
Output constructor.
No description
Color, Formatting
No description
Print Text in box Example: ┌─────────────────────┐ │ No changes detected │ └─────────────────────┘
No description
No description
No description
No description
No description
Returns true if the current verbosity includes the passed verbosity level
No description
No description
No description
Outputs a Success Message
Print Table in CLI, Example: ┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Module │ Installed │ Repository │ Package │ ┝━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┥ │ Directory Sync │ 8.2.4 │ 9.0.5 │ Active Directory and SSO Authentication │ └────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Outputs a Success Message
Details
at line 26
__construct(int $verbosity = self::VERBOSITY_NORMAL)
Output constructor.
at line 162
string
_parseCLITagsCallback(array $matches)
No description
at line 153
string
applyColor(string $string, string $colorFormatTag)
Color, Formatting
at line 197
block(string $text, string $underline = '-', string $topline = '')
No description
at line 212
box($text)
Print Text in box Example: ┌─────────────────────┐ │ No changes detected │ └─────────────────────┘
at line 50
error($message, array $vars = [], $verbosity = self::VERBOSITY_ALWAYS)
No description
at line 33
int
getVerbosity()
No description
at line 101
h1($headline, bool $subheadline = false)
No description
at line 120
h2($headline)
No description
at line 129
h3($headline)
No description
at line 42
bool
hasVerbosity($verbosityLevel)
Returns true if the current verbosity includes the passed verbosity level
at line 89
message($message, array $vars = [], $verbosity = self::VERBOSITY_ALWAYS)
No description
at line 113
newLine(int $count = 1)
No description
at line 139
string
parseColorTags($string)
No description
at line 64
success($message, array $vars = [], $verbosity = self::VERBOSITY_ALWAYS)
Outputs a Success Message
at line 228
table(array $tableRows, bool $firstRowIsHead = true)
Print Table in CLI, Example: ┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Module │ Installed │ Repository │ Package │ ┝━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┥ │ Directory Sync │ 8.2.4 │ 9.0.5 │ Active Directory and SSO Authentication │ └────────────────────────────────────────────────────────────────────────────────────────────────────────┘
at line 77
warning($message, array $vars = [], $verbosity = self::VERBOSITY_ALWAYS)
Outputs a Success Message