Download the PHP package webignition/symfony-console-typed-input without Composer
On this page you can find all versions of the php package webignition/symfony-console-typed-input. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webignition/symfony-console-typed-input
More information about webignition/symfony-console-typed-input
Files in webignition/symfony-console-typed-input
Download webignition/symfony-console-typed-input
More information about webignition/symfony-console-typed-input
Files in webignition/symfony-console-typed-input
Vendor webignition
Package symfony-console-typed-input
Short Description Symfony InputInterface providing type-specific getters for options and arguments
License MIT
Homepage https://github.com/webignition/symfony-console-typed-input
Package symfony-console-typed-input
Short Description Symfony InputInterface providing type-specific getters for options and arguments
License MIT
Homepage https://github.com/webignition/symfony-console-typed-input
Please rate this library. Is it a good library?
Informations about the package symfony-console-typed-input
Symfony Console Typed Input
A wrapper for Symfony\Component\Console\Input\InputInterface
adding integer- and boolean-specific
argument and option getters.
For fans of strongly-typed PHP, or just those tired of battling with phpstan
--level max
when analysing Symfony console commands.
Methods
All other InputInterface
method calls are proxied to the wrapped InputInterface
instance.
Usage
use webignition\SymfonyConsole\TypedInput\TypedInput;
// Assuming we're in a console command and $input is an InputInterface instance
$typedInput = new TypedInput($input);
// Guaranteed to return an integer
$integerArgument = $typedInput->getIntegerArgument('integer-argument-name');
$integerOption = $typedInput->getIntegerOption('integer-option-name');
// Guaranteed to return a boolean
$booleanArgument = $typedInput->getBooleanArgument('boolean-argument-name');
$booleanOption = $typedInput->getBooleanOption('boolean-option-name');
All versions of symfony-console-typed-input with dependencies
PHP Build Version
Package Version
The package webignition/symfony-console-typed-input contains the following files
Loading the files please wait ....