1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 09:04:04 +00:00

Rename parent model -> getRelationshipToPrimaryModel

This commit is contained in:
Samuel Štancl 2020-05-14 04:20:06 +02:00
parent c05262f534
commit f4898bec2b
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ use Stancl\Tenancy\Database\ParentModelScope;
trait BelongsToPrimaryModel
{
abstract public function getParentRelationshipName(): string;
abstract public function getRelationshipToPrimaryModel(): string;
public static function bootBelongsToPrimaryModel()
{