Skip to content

Commit

Permalink
Move Traits into Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Feb 20, 2024
1 parent 250c946 commit 1e5944c
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use Nette\Security\IIdentity as Identity;
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/Comments.php → src/Entity/Traits/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use JuniWalk\ORM\Interfaces\Comment;
use JuniWalk\ORM\Entity\Interfaces\Comment;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use Nette\Security\IIdentity as Identity;
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/Hashable.php → src/Entity/Traits/Hashable.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use Stringable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use Nette\Security\IIdentity as Identity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use Nette\Security\IIdentity as Identity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use Nette\Security\IIdentity as Identity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use BackedEnum;
use Doctrine\ORM\Mapping as ORM;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT License
*/

namespace JuniWalk\ORM\Traits;
namespace JuniWalk\ORM\Entity\Traits;

use DateTime;
use DateTimeInterface;
Expand Down
17 changes: 0 additions & 17 deletions src/Traits/Ownership.php

This file was deleted.

0 comments on commit 1e5944c

Please sign in to comment.