public function resolve($template)
    {
        foreach ($this->queue as $resolver) {
            $resource = $resolver->resolve($template);
            if (false !== $resource) {
                return $resource;
            }
        }

        return false;
    }