public function getService($serviceName)
    {
        $serviceName = $this->getServiceName($serviceName);

        return $this->getApp()->container->get($serviceName);
    }
public function getService($serviceName)
    {
        $serviceName = $this->getServiceName($serviceName);

        return $this->getApp()->container->get($serviceName);
    }
public function getService ( $ serviceName ) { $ serviceName = $ this -> getServiceName ( $ serviceName ) ; return $ this -> getApp ( ) -> container -> get ( $ serviceName ) ; }
Returns a service using the service name given

The service name will be prefixed with an '@' if it's not already

@param string $serviceName Service name, with or without the '@' prefix

@return mixed
Returns a service using the service name given