- Module::getConfig() now returns a simple array, not a config object
- View listener returns a PhpEnvironment\Response (sendable) upon error
namespace Application;
use Zend\Module\Manager,
- Zend\Config\Config,
Zend\EventManager\StaticEventManager,
Zend\Loader\AutoloaderFactory;
public function getConfig()
{
- return new Config(include __DIR__ . '/configs/module.config.php');
+ return include __DIR__ . '/configs/module.config.php';
}
public function initializeView($e)
Zend\EventManager\EventCollection,
Zend\EventManager\ListenerAggregate,
Zend\EventManager\StaticEventCollection,
- Zend\Http\Response,
+ Zend\Http\PhpEnvironment\Response,
Zend\Mvc\Application,
Zend\Mvc\MvcEvent,
Zend\View\Renderer;