Create and return Adapter\AdapterInterface instance.
Signature
public function getInstance([null|string
$forceAdapter = null,
[null|string
$forceCharset = null]] )
Parameters
$forceAdapter
—
object
Optional adapter class name. Ccan be absolute namespace or class name relative to Zend\Console\Adapter\. If not provided, a best matching adapter will be automatically selected.
$forceCharset
—
object
optional charset name can be absolute namespace or class name relative to Zend\Console\Charset\. If not provided, charset will be detected automatically.