public function get($component)
    {
        $parts = explode('.', $component);

        if (count($parts) == 1) {
            return $this->getService($parts[0]);
        } elseif (count($parts) == 2) {
            return $this->getService($parts[0])->getGroup($parts[1]);
        } elseif (count($parts) == 3) {
            return $this->getService($parts[0])->getGroup($parts[1])->getAction($parts[2]);
        }

        throw new \LogicException('Malformed component path. Please use a dot-notated path (e.g. service.group.action)');
    }
public function get($component)
    {
        $parts = explode('.', $component);

        if (count($parts) == 1) {
            return $this->getService($parts[0]);
        } elseif (count($parts) == 2) {
            return $this->getService($parts[0])->getGroup($parts[1]);
        } elseif (count($parts) == 3) {
            return $this->getService($parts[0])->getGroup($parts[1])->getAction($parts[2]);
        }

        throw new \LogicException('Malformed component path. Please use a dot-notated path (e.g. service.group.action)');
    }
Returns either a service, group or action based on component path.

@param string $component

@return object