src/APIResponse.php
public function respondUpdatedWithPayload($payload = null, $message = "Updated")
    {
        $reponse = $this->setStatusCode(ResponseHTTP::HTTP_ACCEPTED)
            ->respondWithMessageAndPayload($payload, $message);
        return $reponse;
    }
public function respondUpdatedWithPayload($payload = null, $message = "Updated")
    {
        $reponse = $this->setStatusCode(ResponseHTTP::HTTP_ACCEPTED)
            ->respondWithMessageAndPayload($payload, $message);
        return $reponse;
    }
public function respondUpdatedWithPayload ( $ payload = null , $ message = "Updated" ) { $ reponse = $ this -> setStatusCode ( ResponseHTTP :: HTTP_ACCEPTED ) -> respondWithMessageAndPayload ( $ payload , $ message ) ; return $ reponse ; }
Respond is updated wih payload

@param null   $payload
@param string $message

@return mixed
Respond is updated wih payload