Rename Interfaces to Contracts to better match Laravel conventions

This commit is contained in:
Nabeel Shahzad
2019-07-15 15:44:31 -04:00
parent 31f16d693b
commit a720f12e0b
223 changed files with 241 additions and 241 deletions

21
app/Contracts/Model.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
namespace App\Contracts;
/**
* Class Model
*
* @property mixed $id
* @property bool $skip_mutator
*/
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;
}