Skip to content

Commit

Permalink
Added asset repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Oct 26, 2024
1 parent 1a11c07 commit 5e71eb5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Assets/Entity/Scientist.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Doctrine\ORM\Mapping as ORM;

#[ORM\Entity(repositoryClass: "App\Doctrine\ORM\Repository\ScientistRepository")]
#[ORM\Entity(repositoryClass: "LaravelDoctrineTest\ORM\Assets\Repository\ScientistRepository")]
class Scientist
{
#[ORM\Id]
Expand Down
9 changes: 9 additions & 0 deletions tests/Assets/Repository/ScientistRepository.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace LaravelDoctrineTest\ORM\Assets\Repository;

use Doctrine\ORM\EntityRepository;

class ScientistRepository extends EntityRepository
{
}
9 changes: 9 additions & 0 deletions tests/Assets/Repository/TheoryRepository.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace LaravelDoctrineTest\ORM\Assets\Repository;

use Doctrine\ORM\EntityRepository;

class TheoryRepository extends EntityRepository
{
}

0 comments on commit 5e71eb5

Please sign in to comment.