From 697afc30b92b5568f45d10fd43a30e41d1879e9d Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 18 Oct 2023 14:55:31 -0300 Subject: [PATCH] chore: contextualize has legacy attributes trait --- src/LegacyRecord.php | 2 +- src/Model/{ => Attributes}/HasLegacyAttributesTrait.php | 2 +- tests/Unit/LegacyRecordTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/Model/{ => Attributes}/HasLegacyAttributesTrait.php (99%) diff --git a/src/LegacyRecord.php b/src/LegacyRecord.php index 5904e448..edea5fd7 100644 --- a/src/LegacyRecord.php +++ b/src/LegacyRecord.php @@ -9,7 +9,7 @@ use Mongolid\Cursor\CursorInterface; use Mongolid\DataMapper\DataMapper; use Mongolid\Model\Exception\NoCollectionNameException; -use Mongolid\Model\HasLegacyAttributesTrait; +use Mongolid\Model\Attributes\HasLegacyAttributesTrait; use Mongolid\Model\HasLegacyRelationsTrait; use Mongolid\Model\ModelInterface; use Mongolid\Query\ModelMapper; diff --git a/src/Model/HasLegacyAttributesTrait.php b/src/Model/Attributes/HasLegacyAttributesTrait.php similarity index 99% rename from src/Model/HasLegacyAttributesTrait.php rename to src/Model/Attributes/HasLegacyAttributesTrait.php index a71b09a8..4e8d7de0 100644 --- a/src/Model/HasLegacyAttributesTrait.php +++ b/src/Model/Attributes/HasLegacyAttributesTrait.php @@ -1,5 +1,5 @@