for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Rinvex\Tests\Stubs;
class EloquentPost extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'posts';
protected $fillable = ['user_id', 'parent_id', 'name'];
public function user()
$this->belongsTo(EloquentUser::class);
}