public function transform($data = null, $transformer = null, string $resourceKey = null): SuccessResponseBuilder
    {
        $this->transformBuilder->resource($data, $transformer, $resourceKey);

        return $this;
    }
public function transform($data = null, $transformer = null, string $resourceKey = null): SuccessResponseBuilder
    {
        $this->transformBuilder->resource($data, $transformer, $resourceKey);

        return $this;
    }
public function transform ( $ data = null , $ transformer = null , string $ resourceKey = null ) : SuccessResponseBuilder { $ this -> transformBuilder -> resource ( $ data , $ transformer , $ resourceKey ) ; return $ this ; }
Set resource data for the transformation.

@param  mixed                                                          $data
@param  \Flugg\Responder\Transformers\Transformer|callable|string|null $transformer
@param  string|null                                                    $resourceKey
@return self
Set resource data for the transformation .