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 5, 2024. It is now read-only.
outputStream | `string|resource` | A different output stream, if you don't want to stream to `STDOUT`. Can be any other stream like `php://stderr` or a path to a file.
29
-
width | `int|ProgressBar::AUTO` | Console width to use; `ProgressBar::AUTO` indicates the adapter should autodetect the width.
30
-
elements | `null|array` | Which elements to include in the display; `null` to include all, or an array with one of the `Console` constants, as detailed below.
28
+
outputStream | `string OR resource` | A different output stream, if you don't want to stream to `STDOUT`. Can be any other stream like `php://stderr` or a path to a file.
29
+
width | `int OR ProgressBar::AUTO` | Console width to use; `ProgressBar::AUTO` indicates the adapter should autodetect the width.
30
+
elements | `null OR array` | Which elements to include in the display; `null` to include all, or an array with one of the `Console` constants, as detailed below.
31
31
textWidth | `int` | Width in characters of the ``ELEMENT_TEXT`` element. Default is 20.
32
32
charset | `string` | Charset of the ``ELEMENT_TEXT`` element. Default is utf-8.
33
33
barLeftChar | `string` | String to use on the left-hand side of the progressbar indicator.
@@ -58,7 +58,7 @@ constructor. The available options are:
58
58
Option name | Type | Description
59
59
---------------- | ------------- | -----------
60
60
updateMethodName | `string` | The JavaScript method which should be called on every update. Default value is `Laminas\ProgressBar\Update`.
61
-
finishMethodName | `null|string` | The JavaScript method which should be called when sending the finish status. Default value is `NULL`, which means nothing is done.
61
+
finishMethodName | `null OR string` | The JavaScript method which should be called when sending the finish status. Default value is `NULL`, which means nothing is done.
62
62
63
63
To use this adapter, first create a progressbar in your browser, either with
64
64
JavaScript or plain HTML. Then define the update method and optionally a finish
0 commit comments