Skip to content

Commit

Permalink
[Console] Add ArgvInput::getRawTokens()
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Mar 11, 2024
1 parent d7b9240 commit 29abff1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Symfony/Component/Console/CHANGELOG.md
@@ -1,6 +1,11 @@
CHANGELOG
=========

7.1
---

* Add `ArgvInput::getRawTokens()`

7.0
---

Expand Down
8 changes: 8 additions & 0 deletions src/Symfony/Component/Console/Input/ArgvInput.php
Expand Up @@ -345,6 +345,14 @@ public function getParameterOption(string|array $values, string|bool|int|float|a
return $default;
}

/**
* Returns un-parsed and not validated tokens.
*/
public function getRawTokens(): array
{
return $this->tokens;
}

/**
* Returns a stringified representation of the args passed to the command.
*/
Expand Down

0 comments on commit 29abff1

Please sign in to comment.