I think it's 'aliases', not 'alias'. Marco Pivetta
http://twitter.com/Ocramius http://ocramius.github.com/ On 22 April 2013 11:13, Nizzre [via Zend Framework Community] < [email protected]> wrote: > Hi, > > I tried to check identity by view side using Identity Helper (based on > http://framework.zend.com/manual/2.1/en/modules/zend.view.helpers.identity.html#zend-view-helpers-initial-identity). > > > It should be easy to implement but in example I found some bugs: > > return array( > 'service_manager' => array( > 'alias' => array( > 'Zend\Authentication\AuthenticationService' => > 'my_auth_service', > ), > 'invokables' => array( > 'my_auth_service' => > 'Zend\Authentication\AuthenticationService'*;* > *},* > ), > ), > ); > > After correction: > > return array( > 'service_manager' => array( > 'alias' => array( > 'Zend\Authentication\AuthenticationService' => > 'my_auth_service', > ), > 'invokables' => array( > 'my_auth_service' => > 'Zend\Authentication\AuthenticationService', > ), > ), > ); > > I receive an error: > No AuthenticationService instance provided > > Does anyone know where is a problem, what I should change or add? > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/Checking-identity-by-Identity-Helper-tp4659819.html > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Checking-identity-by-Identity-Helper-tp4659819p4659820.html Sent from the Zend Framework mailing list archive at Nabble.com.
