jenssegers / model

This model provides an eloquent-like base class that can be used to build custom models in Laravel and other frameworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snake case attributes

MathiasWeisheit opened this issue · comments

Hi, great work!

It is possible that i define attributes like this:
protected $attributes = [
"id" => null,
"id_conflict" => false,
"sync_info_loaded" => false
];

And set and get these attributes like this:
$project->idConflict = true;
$project->syncInfoLoaded= true;