protected function getCallback($name)
    {
        $callback = $this->shortcodes[$name];

        if(is_string($callback))
        {
            if(\Str::contains($callback, '@'))
            {
                $parsedCallback = \Str::parseCallback($callback, 'register');

                $instance = $this->container->make($parsedCallback[0]);

                return [$instance, $parsedCallback[1]];
            }
            elseif(class_exists($callback))
            {
                $instance = $this->container->make($callback);

                return [$instance, 'register'];
            }
            else
            {
                return $callback;
            }
        }

        return $callback;
    }