Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Use 'Router' in http env and 'HttpRouter' in cli #2400

Conversation

juriansluiman
Copy link
Contributor

The router should not be duplicated in HTTP, so the application's
router and url view helper router must be the same. However, inside
a cli env the url helper must have the HTTP router in order to
assemble urls.

The router should not be duplicated in HTTP, so the application's
router and url view helper router must be the same. However, inside
a cli env the url helper must have the HTTP router in order to
assemble urls.
weierophinney added a commit to weierophinney/zendframework that referenced this pull request Sep 21, 2012
- Test integration with MVC services, in particular console vs HTTP
  routers.
- Required being able to override value of Console::isConsole(); added a
  $isConsole protected static member, and an overrideIsConsole($flag)
  public static method; if the flag is a boolean, its value will be
  returned via isConsole().
weierophinney added a commit that referenced this pull request Sep 21, 2012
@ghost ghost assigned weierophinney Sep 21, 2012
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
- Test integration with MVC services, in particular console vs HTTP
  routers.
- Required being able to override value of Console::isConsole(); added a
  $isConsole protected static member, and an overrideIsConsole($flag)
  public static method; if the flag is a boolean, its value will be
  returned via isConsole().
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
- Test integration with MVC services, in particular console vs HTTP
  routers.
- Required being able to override value of Console::isConsole(); added a
  $isConsole protected static member, and an overrideIsConsole($flag)
  public static method; if the flag is a boolean, its value will be
  returned via isConsole().
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants