11
0
Fork 0
mirror of https://github.com/n3w/helpers-cli-input.git synced 2025-12-19 12:43:23 +00:00

Updated InputHandlerInterface bind() and validate() methods to support flags

This commit is contained in:
Alannah Kearney 2019-06-01 22:27:18 +10:00
commit 0cbbbdff66

View file

@ -8,9 +8,9 @@ use pointybeard\Helpers\Cli\Input;
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);