Lines Matching refs:to

73 More examples can be found in the examples directory. Please refer to the [API docs](https://splitbrain.github.io/php-cli/)
78 By default, the CLI class registers an exception handler and will print the exception's message to the end user and
80 passing false to the constructor.
82 You can use the provided ``splitbrain\phpcli\Exception`` to signal any problems within your main code yourself. The
89 Colored output is handled through the ``Colors`` class. It tries to detect if a color terminal is available and only
90 then uses terminal colors. You can always suppress colored output by passing ``--no-colors`` to your scripts.
97 is probably what you want to use.
99 The table formatter allows coloring full columns. To use that mechanism pass an array of colors as third parameter to
105 The ``TableFormatter`` class allows you to align texts in multiple columns. It tries to figure out the available
109 widths, the second contains the texts to fill into the columns. Between each column a border is printed (a single space
120 When mixing fixed and percentage widths, percentages refer to the remaining space after all fixed columns have been
123 Space for borders is automatically calculated. It is recommended to always have some relative (percentage) or a fluid
124 column to adjust for different terminal widths.
130 The CLI class is a fully PSR-3 compatible logger (printing colored log data to STDOUT and STDERR). This is useful when
131 you call backend code from your CLI that expects a Logger instance to produce any sensible status output while running.
133 If you need to pass a class implementing the `Psr\Log\LoggerInterface` you can do so by inheriting from one of the two provided classes implementing this interface instead of `splitbrain\phpcli\CLI`.
160 Messages from `warning` level onwards are printed to `STDERR` all below are printed to `STDOUT`.