The simplest way to create a custom router is to either extend
Zend\Mvc\Router\SimpleRouteStack or Zend\Mvc\Router\Http\TreeRouteStack
and then add your custom functionality to it.

On 02.08.2013 19:15, Philip G wrote:
> How can I create custom routers in ZF2?
> 
> Google is failing me. I found only one resource, and it seems rather
> complicated:
> http://www.zendexperts.com/2012/12/09/custom-routing-in-zend-framework-2/
> 
> I had expected some kind of build in DI or inherited way of plugging in
> custom routers, similar to that of ZF1. But I can't find any documentation
> on that.
> 
> ---
> Philip
> [email protected]
> http://www.gpcentre.net/
> 


-- 
Ben Scholzen 'DASPRiD'
Community Review Team Member | [email protected]
Zend Framework               | http://www.dasprids.de

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to