protected function getOutput(): array
    {
        return $this->errorFactory->make($this->serializer, $this->errorCode, $this->message, $this->data);
    }
protected function getOutput(): array
    {
        return $this->errorFactory->make($this->serializer, $this->errorCode, $this->message, $this->data);
    }
protected function getOutput ( ) : array { return $ this -> errorFactory -> make ( $ this -> serializer , $ this -> errorCode , $ this -> message , $ this -> data ) ; }
Get the serialized response output.

@return array
Get the serialized response output .