Cleanup Model doc

This commit is contained in:
Nabeel Shahzad
2019-12-22 09:46:41 +05:00
parent e862537a20
commit 66a1192739
5 changed files with 7 additions and 22 deletions

View File

@@ -6,25 +6,17 @@ namespace App\Contracts;
* @property mixed $id
* @property bool $skip_mutator
*
* @method static Model create(array $attrs)
* @method static Model find(int $id)
* @method static Model select(array $array)
* @method static Model where(array $array)
* @method static Model firstOrCreate(array $where, array $array)
* @method static Model updateOrCreate(array $array, array $attrs)
* @method static truncate()
* @method Model orderBy(string $column, string $order)
* @method Model limit(int $limit)
* @method Model first()
* @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
*
* @var bool
*/
public $skip_mutator = false;
}