1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:34:04 +00:00

Move classes to separate files

This commit is contained in:
lukinovec 2023-04-27 18:01:37 +02:00
parent 483630897e
commit dc81b0ec20
4 changed files with 64 additions and 47 deletions

17
tests/Etc/Comment.php Normal file
View file

@ -0,0 +1,17 @@
<?php
namespace Stancl\Tenancy\Tests\Etc;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
protected $guarded = [];
public $timestamps = false;
public function post()
{
return $this->belongsTo(Post::class);
}
}