protected function resolveTransformer(string $transformer)
    {
        $transformerResolver = $this->resolveContainer()->make(TransformerResolver::class);

        return $transformerResolver->resolve($transformer);
    }
protected function resolveTransformer(string $transformer)
    {
        $transformerResolver = $this->resolveContainer()->make(TransformerResolver::class);

        return $transformerResolver->resolve($transformer);
    }
protected function resolveTransformer ( string $ transformer ) { $ transformerResolver = $ this -> resolveContainer ( ) -> make ( TransformerResolver :: class ) ; return $ transformerResolver -> resolve ( $ transformer ) ; }
Resolve a transformer from a class name string.

@param  string $transformer
@return mixed
Resolve a transformer from a class name string .