Input

Input

class Input implements InputInterface

Input is the base class for all concrete Input classes.

Three concrete classes are provided by default:

  • ArgvInput: The input comes from the CLI arguments (argv)
  • StringInput: The input is provided as a string
  • ArrayInput: The input is provided as an array

Methods

__construct(InputDefinition $definition = null)

Constructor.

bind(登录查看完整内容