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

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

        return false;
    }
public function resolve ( $ template ) { foreach ( $ this -> queue as $ resolver ) { $ resource = $ resolver -> resolve ( $ template ) ; if ( false !== $ resource ) { return $ resource ; } } return false ; }
Resolve a template name to a resource the renderer can consume.

@param  string $template
@return false|string
Resolve a template name to a resource the renderer can consume .