PHP Classes

File: src/helpers.php

Recommend this page to a friend!
  Classes of Moamen Eltouny  >  Laravel JSON Responses and Errors  >  src/helpers.php  >  Download  
File: src/helpers.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel JSON Responses and Errors
Generate JSON for HTTP responses and exceptions
Author: By
Last change:
Date: 9 months ago
Size: 209 bytes
 

Contents

Class file image Download
<?php

if (!function_exists('json')) {
   
/**
     * Create a new JSON response instance
     *
     * @return \App\Jsonable\Classes\Json
     */
   
function json()
    {
        return
app('json');
    }
}

For more information send a message to info at phpclasses dot org.