ApiController
class ApiController extends Controller (View source)
Traits
AuthorizesRequests
AuthorizesResources
DispatchesJobs
ValidatesRequests
Methods
mixed
getStatusCode()
No description
setStatusCode(
mixed $statusCode)
No description
mixed
respondNotFound(
string $message)
No description
mixed
respondInternalError(
string $message = 'Internal Error')
No description
mixed
respond($data,
array $headers = array())
No description
mixed
respondWithError($message)
No description