```php
$factory->createInput(
    array(
        ...
```