8000 Document that you can't pass empty strings to console options by javiereguiluz · Pull Request #7363 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Document that you can't pass empty strings to console options #7363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
4 changes: 4 additions & 0 deletions console/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,7 @@ You can combine ``VALUE_IS_ARRAY`` with ``VALUE_REQUIRED`` or
when the option was used without a value (``command --language``) or when
it wasn't used at all (``command``). In both cases, the value retrieved for
the option will be ``null``.

Similarly, due to a PHP limitation, there is no way to pass an empty string
as the value of an option. In ``command --prefix`` and ``command --prefix=''``
cases, the value of the ``prefix`` option will be ``null``.
0