protected function success($messages = null)
	{
		$data = $this->getStatusData('success', $messages);
		return $this->jsonResponse($data, 200);
	}
protected function success($messages = null)
	{
		$data = $this->getStatusData('success', $messages);
		return $this->jsonResponse($data, 200);
	}
protected function success ( $ messages = null ) { $ data = $ this -> getStatusData ( 'success' , $ messages ) ; return $ this -> jsonResponse ( $ data , 200 ) ; }
Return a generic success response.

@param  mixed $messages optional

@return \Illuminate\Http\JsonResponse
Return a generic success response .