phpvms/app/Contracts/Model.php
2019-12-22 09:46:41 +05:00

23 lines
436 B
PHP

<?php
namespace App\Contracts;
/**
* @property mixed $id
* @property bool $skip_mutator
*
* @mixin \Illuminate\Database\Eloquent\Builder
*/
abstract class Model extends \Illuminate\Database\Eloquent\Model
{
/**
* Max length of ID for string columns
*/
public const ID_MAX_LENGTH = 12;
/**
* For the factories, skip the mutators. Only apply to one instance
*/
public $skip_mutator = false;
}