/** | |
* Indicates whether attributes are snake cased on arrays. | |
* | |
* @var | |
*/ | |
Sample code as follows,
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Storage;
use Carbon\Carbon;
class BaseModel extends Model {
/**
* Indicates whether attributes are snake cased on arrays.
*
* @var bool
*/
public static $snakeAttributes = false;
}
No comments:
Post a Comment