I hereby claim:
- I am lfarkas on github.
- I am lfarkas (https://keybase.io/lfarkas) on keybase.
- I have a public key ASCGG8x7KRgqA69OOUauxe8rfQsCNYFF3ZM5WgtKo5rzfwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace App; | |
| use Illuminate\Database\Eloquent\Model; | |
| /** | |
| * Use this trait if you some of the fields could be converted to null | |
| * automatically if they are empty. | |
| * In the Model class $nullable properties should have to be defined as: |
| <?php | |
| namespace App; | |
| use Illuminate\Database\Eloquent\Model; | |
| class BaseModel extends Model | |
| { | |
| /** | |
| * Fields which have to be convert to null in case of empty imput. |