Method |
Description |
|
getNumberOfColumns ( ) : integer |
Gets the number of columns of the terminal. |
|
getNumberOfRows ( ) : integer |
Gets the number of rows of the terminal. |
|
hasColorSupport ( ) : boolean |
Checks the supports of colorization. |
|
isConsole ( ) : boolean |
Checks if running in a console environment (CLI). |
|
isInteractive ( integer | resource $fd = self::STDOUT ) : boolean |
Checks if the file descriptor is an interactive terminal. |
|
isWindows ( ) : boolean |
Checks if currently running under MS Windows. |
|