mirror of
https://github.com/n3w/helpers-cli-input.git
synced 2025-12-19 20:53:27 +00:00
Updated InputHandlerInterface bind() and validate() methods to support flags
This commit is contained in:
parent
7069019301
commit
0cbbbdff66
1 changed files with 2 additions and 2 deletions
|
|
@ -8,9 +8,9 @@ use pointybeard\Helpers\Cli\Input;
|
||||||
|
|
||||||
interface InputHandlerInterface
|
interface InputHandlerInterface
|
||||||
{
|
{
|
||||||
public function bind(Input\InputCollection $inputCollection, bool $skipValidation = false): bool;
|
public function bind(Input\InputCollection $inputCollection, ?int $flags = null): bool;
|
||||||
|
|
||||||
public function validate(): void;
|
public function validate(?int $flags = null): void;
|
||||||
|
|
||||||
public function find(string $name);
|
public function find(string $name);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue