public function parseData(array $data) : array
    {
        if ($this->getTransformer() instanceof RequestTransformerContract) {
            return $this->getTransformer()->transformRequestData($data);
        }

        return $data;
    }
public function parseData(array $data) : array
    {
        if ($this->getTransformer() instanceof RequestTransformerContract) {
            return $this->getTransformer()->transformRequestData($data);
        }

        return $data;
    }
public function parseData ( array $ data ) : array { if ( $ this -> getTransformer ( ) instanceof RequestTransformerContract ) { return $ this -> getTransformer ( ) -> transformRequestData ( $ data ) ; } return $ data ; }
Parse the data using the 'request' method of the transformer if it exists

@method parseData
@param  array $data The data to parse
@return array The parsed data
Parse the data using the request method of the transformer if it exists