zendframework/zf2-documentation — pull request #582 by chrishiebert (2013-01-04 20:27:13+00:00)
Title: Update docs/languages/en/modules/zend.console.adapter.rst

When using this example I found that the "use .. as Console" was referencing Zend\Console\AdapterInterface instead of Zend\Console\Adapter\AdapterInterface

This caused an error when passing the function a Windows console.

PHP Catchable fatal error: Argument 1 passed to Album\Controller\SetupController::getConsoleUsage() must be an instance of Zend\Console\AdapterInterface, instance of Zend\Console\Adapter\Windows given, called in...