public function resolve($template)
    {
        foreach ($this as $resolver) {
            $resource = $resolver->resolve($template);
            if (! is_null($resource)) {
                return $resource;
            }
        }
        return null;
    }
public function resolve($template)
    {
        foreach ($this as $resolver) {
            $resource = $resolver->resolve($template);
            if (! is_null($resource)) {
                return $resource;
            }
        }
        return null;
    }
public function resolve ( $ template ) { foreach ( $ this as $ resolver ) { $ resource = $ resolver -> resolve ( $ template ) ; if ( ! is_null ( $ resource ) ) { return $ resource ; } } return null ; }
Returns result from first resolver that matches

@param  string $template
@return Result|null
Returns result from first resolver that matches