1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 15:54:03 +00:00
tenancy/tests/Etc/ScopedComment.php
2023-04-27 18:01:37 +02:00

17 lines
308 B
PHP

<?php
namespace Stancl\Tenancy\Tests\Etc;
use Stancl\Tenancy\Database\Concerns\BelongsToPrimaryModel;
class ScopedComment extends Comment
{
use BelongsToPrimaryModel;
protected $table = 'comments';
public function getRelationshipToPrimaryModel(): string
{
return 'post';
}
}