Service Locator Interface

For programming and general questions on Zend Framework
Post Reply
moe4696
Posts: 2
Joined: Mon Aug 08, 2016 2:45 am
Contact:

Service Locator Interface

Post by moe4696 » Mon Aug 08, 2016 3:13 am

I am having a problem with a class and Service Locator Aware Interface. I have implemented this interface on a class and from what I get from the documentation that is all one needs to do to be able to use the service locator inside a class. However, when the class is called it never calls the set Service Locator function.
The class is a standard class it is not extended from anything. How to do myself with some coding. Thanks.

moe4696
Posts: 2
Joined: Mon Aug 08, 2016 2:45 am
Contact:

Re: Service Locator Aware Interface

Post by moe4696 » Tue Aug 09, 2016 4:22 am

I am having a problem with a class and Service Locator Aware Interface. I have implemented this interface on a class and according to the documentation, that's all i need to do, now i can use the service locator inside a class. However, when the class is called it never calls the set Service Locator function.
The class is a standard class it is not extended from anything. Do i need to implement another interface or do i register it with the service manger or can i just do it myself. Thanks

stij2324
Posts: 55
Joined: Fri Nov 06, 2015 11:42 pm

Re: Service Locator Interface

Post by stij2324 » Wed Aug 24, 2016 1:30 pm

Wat versions are you using of wich modules.
Cause for zf3 there are big changes in the service manager

Post Reply