Fakerino\Core\Console\FakeConsole::__construct PHP Method

__construct() public method

Constructor.
public __construct ( array $input )
$input array
    public function __construct($input)
    {
        $this->input = $input;
        unset($this->input[0]);
        $helpIndex = array_search('-h', $this->input);
        if (false !== $helpIndex || empty($this->input)) {
            $this->help = true;
            return;
        }
        $this->getParameters();
    }