servicelocator component for php