11
0
Fork 0
mirror of https://github.com/n3w/helpers-cli-input.git synced 2025-12-19 12:43:23 +00:00
helpers-cli-input/src/Input
2019-06-04 23:22:15 +10:00
..
Exceptions Added UnrecognisedInputException exception 2019-06-01 15:09:02 +10:00
Handlers Added Argv::findOptionInCollection() and Argv::findArgumentInCollection() wrapper method, which are used in Argv::parse() 2019-06-01 22:44:09 +10:00
Interfaces Updated InputHandlerInterface bind() and validate() methods to support flags 2019-06-01 22:27:18 +10:00
Types Code tidy 2019-05-27 00:22:25 +10:00
AbstractInputHandler.php Made getCollection(), getInput(), find(), and validate() in AbstractInputHandler final. Removed categorising input by type. Abstracted most of validate() into it's own protected method called validateInput(). Removed $skipValidation argument from bind() and relaced with $flags. Added FLAG_BIND_SKIP_VALIDATION, FLAG_VALIDATION_SKIP_REQUIRED, FLAG_VALIDATION_SKIP_CUSTOM, and FLAG_VALIDATION_SKIP_UNRECOGNISED flags. Added check in validate() to look for unrecognised options and arguments. 2019-06-01 22:31:59 +10:00
AbstractInputType.php Code tidy 2019-05-27 00:22:25 +10:00
InputCollection.php InputCollection now implements Iterator and Countable (implementing required methods). Removed use of $type. Added getItemsExcludeByType(). getItemsByType() and getItems() now returns an Iterator. Renamed append() to add() and added $position flag. Added POSITION_APPEND and POSITION_PREPEND flags. 2019-06-01 22:43:19 +10:00
InputHandlerFactory.php Updated InputHandlerFactory and InputTypeFactory to work with changes in pointybeard/helpers-foundation-factory 1.0.2 2019-06-04 23:22:15 +10:00
InputTypeFactory.php Updated InputHandlerFactory and InputTypeFactory to work with changes in pointybeard/helpers-foundation-factory 1.0.2 2019-06-04 23:22:15 +10:00
InputTypeFilterIterator.php Added InputTypeFilterIterator class 2019-06-01 22:34:32 +10:00
Validator.php Initial commit 2019-05-20 15:08:41 +10:00