App\Http\Controllers\Front\Api\Controller::respondWithBadRequest PHP 메소드

respondWithBadRequest() 공개 메소드

Send a response with a bad request.
public respondWithBadRequest ( string $message = 'Bad Request' ) : Illuminate\Http\Response
$message string
리턴 Illuminate\Http\Response
    public function respondWithBadRequest($message = 'Bad Request')
    {
        return $this->setStatusCode(Response::HTTP_BAD_REQUEST)->respondWithError($message);
    }