public function getService($serviceId) {

		$args = func_get_args();
		$service = $this->initializeService($serviceId, array_splice($args, 1));
		$this->services[] = $service;

		return $service;

	}
public function getService($serviceId) {

		$args = func_get_args();
		$service = $this->initializeService($serviceId, array_splice($args, 1));
		$this->services[] = $service;

		return $service;

	}
public function getService ( $ serviceId ) { $ args = func_get_args ( ) ; $ service = $ this -> initializeService ( $ serviceId , array_splice ( $ args , 1 ) ) ; $ this -> services [ ] = $ service ; return $ service ; }
return a service instance
service instances are lazily initialized upon first request

any extra argument is passed on to the constructor method of the service

@param string $serviceId
@return ServiceInterface :ServiceInterface
@throws ApplicationException
return a service instance service instances are lazily initialized upon first request