e862537a20
* Split the importer module out from the installer module * Cleanup of unused imports * Move updater into separate module #453 * Remove unused imports/formatting * Disable the install and importer modules at the end of the setup * Unused imports; update IJ style * test explicit stage for php+mysql * add more to matrix * Add different MariaDB versions * undo
31 lines
803 B
PHP
31 lines
803 B
PHP
<?php
|
|
|
|
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()
|
|
*/
|
|
abstract class Model extends \Illuminate\Database\Eloquent\Model
|
|
{
|
|
public const ID_MAX_LENGTH = 12;
|
|
|
|
/**
|
|
* For the factories, skip the mutators. Only apply to one instance
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $skip_mutator = false;
|
|
}
|