News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Allen:
ZendServiceManager configuration keys
November 12, 2012 @ 11:09:47

Rob Allen has a new post to his site sharing some examples of the configuration possibilities for the ZendServiceManager module of the Zend Framework 2.

ZendServiceManager is usually configured in two places: an array in a config file or a method within your Module class. In either case, you provide a nested array of configuration information. [...] Within the service_manager array, there are a set of nested arrays which are generally used to configure how you want a given class to be instantiated. the names of these sub-arrays are hardcoded, so you just need to learn their names and the difference between them.

He lists out each of the options and includes a brief example and description for each. Values include "invokables", "aliases" and "initializers". He also touches on controllers, view helpers and controller plugins and how they hook into the ServiceManager.

0 comments voice your opinion now!
zendframework servicemanager module configuration setting


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Optimise Your Zend_Feed Aggregators With HTTP Conditional GET Support

Zend Developer Zone: Zend Framework Survey for 2009

Fabien Potencier: Packing a Symfony full-stack Framework Application in one File - Bootstrapping

PHPEveryDay.com: New Zend Framework Articles/Tutorials

Tom Van Herreweghe's Blog: Running Zend Framework modules from a Phar file


Community Events

Don't see your event here?
Let us know!


library release install series php7 introduction example podcast xdebug laravel5 opinion laravel community framework extension language interview unittest api voicesoftheelephpant

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework