Action_Helper_Service::getService PHP Method

getService() public method

Get service
public getService ( string $service ) : mixed
$service string
return mixed
    public function getService($service)
    {
        if (!$this->container->hasService($service)) {
            throw new InvalidArgumentException("Service '{$service}' not found");
        }
        return $this->container->getService($service);
    }
Action_Helper_Service