diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-14 00:15:52 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-14 00:15:52 +0900 |
| commit | fe15d4dba4530f574856a6c443a3f665aa5abe7a (patch) | |
| tree | d7dc0433e40a2c38c50daf399ec8a3de5c2ac307 /crates/shirabe-external-packages/src/symfony/console/command/command.rs | |
| parent | e165b2ffa32e21c50787ae7227dc5333131d1414 (diff) | |
| download | php-shirabe-fe15d4dba4530f574856a6c443a3f665aa5abe7a.tar.gz php-shirabe-fe15d4dba4530f574856a6c443a3f665aa5abe7a.tar.zst php-shirabe-fe15d4dba4530f574856a6c443a3f665aa5abe7a.zip | |
feat(console): implement get_command_name_before_binding via input clone
Replace the todo!() stub with the real Symfony logic: clone the input,
bind it against the application definition (ignoring binding errors), and
read the first argument so the command name is detected even when global
options precede it.
Add a dup() method to InputInterface to model PHP's clone, derive Clone on
the input types, and treat InvalidArgument/InvalidOption/MissingInput as
ignorable ExceptionInterface errors during the pre-binding probe.
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/command/command.rs')
0 files changed, 0 insertions, 0 deletions
