mirror of
https://github.com/n3w/helpers-cli-input.git
synced 2025-12-19 12:43:23 +00:00
Removed InputHandlerFactory::FLAG_SKIP_VALIDATION. Passing flags in call to bind()
This commit is contained in:
parent
0cbbbdff66
commit
1100d5d959
1 changed files with 1 additions and 3 deletions
|
|
@ -9,8 +9,6 @@ use pointybeard\Helpers\Foundation\Factory;
|
|||
|
||||
final class InputHandlerFactory extends Factory\AbstractFactory
|
||||
{
|
||||
const FLAG_SKIP_VALIDATION = 0x0001;
|
||||
|
||||
public static function getTemplateNamespace(): string
|
||||
{
|
||||
return __NAMESPACE__.'\\Handlers\\%s';
|
||||
|
|
@ -34,7 +32,7 @@ final class InputHandlerFactory extends Factory\AbstractFactory
|
|||
if ($collection instanceof InputCollection) {
|
||||
$handler->bind(
|
||||
$collection,
|
||||
Flags\is_flag_set($flags, self::FLAG_SKIP_VALIDATION)
|
||||
$flags
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue