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

Move Identity closure to separate factory #4155

Closed

Conversation

maxnuf
Copy link
Contributor

@maxnuf maxnuf commented Mar 31, 2013

  • Move Identity Controller Plugin to factory
  • Move Identity View Helper to factory

*   Move Identity Controller Plugin to factory
*   Move Identity View Helper to factory
* @var array
*/
protected $factories = array(
'identity' => 'Zend\Mvc\Controller\Plugin\Service\IdentityFactory',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can leave just one space here, just align when in the same array.

@ghost ghost assigned weierophinney Apr 12, 2013
weierophinney added a commit that referenced this pull request Apr 12, 2013
Move Identity closure to separate factory
weierophinney added a commit that referenced this pull request Apr 12, 2013
@weierophinney
Copy link
Member

Since this introduces a new class (the factory), I've merged it against develop for release with 2.2.0.

Thanks -- this will make it far easier to override what service is used for the helper/plugin!

weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
…re/refactor-identity-helper

Move Identity closure to separate factory
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.

4 participants