mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Solved some naming bugs
This commit is contained in:
parent
6be1a09b30
commit
7cf162bb6a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Entity\Attribut;
|
namespace App\Entity\Attribut;
|
||||||
|
|
||||||
use App\Entity\Meta\Relation\CreatorRelationInterface;
|
use App\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
||||||
|
|
||||||
trait CreatorRelationAttribut
|
trait CreatorRelationAttribut
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Entity\Attribut;
|
namespace App\Entity\Attribut;
|
||||||
|
|
||||||
use App\Entity\Meta\Relation\CreatorRelationInterface;
|
use App\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
||||||
|
|
||||||
interface CreatorRelationAttributInterface
|
interface CreatorRelationAttributInterface
|
||||||
{
|
{
|
||||||
|
@ -4,14 +4,13 @@ namespace App\Entity\Meta\Relation\Parent;
|
|||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
use Doctrine\Common\Collections\Collection;
|
use Doctrine\Common\Collections\Collection;
|
||||||
use App\Entity\Meta\Relation\CreatorRelationInterface;
|
|
||||||
use App\Entity\Source\SourceInterface;
|
use App\Entity\Source\SourceInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
* @ORM\Entity()
|
* @ORM\Entity()
|
||||||
*/
|
*/
|
||||||
class CreatorRelation extends AbstractParentRelation
|
class CreatorRelation extends AbstractParentRelation implements CreatorRelationInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @ORM\OneToOne(targetEntity="App\Entity\Source\AbstractSource",cascade={"persist", "remove"})
|
* @ORM\OneToOne(targetEntity="App\Entity\Source\AbstractSource",cascade={"persist", "remove"})
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Entity\Meta\Relation;
|
namespace App\Entity\Meta\Relation\Parent;
|
||||||
|
|
||||||
|
use App\Entity\Meta\Relation\RelationInterface;
|
||||||
|
|
||||||
interface CreatorRelationInterface extends RelationInterface
|
interface CreatorRelationInterface extends RelationInterface
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ namespace App\Tests\Unit\Entity\Attribut;
|
|||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use App\Entity\Attribut\CreatorRelationAttributInterface;
|
use App\Entity\Attribut\CreatorRelationAttributInterface;
|
||||||
use App\Entity\Attribut\CreatorRelationAttribut;
|
use App\Entity\Attribut\CreatorRelationAttribut;
|
||||||
use App\Entity\Meta\Relation\CreatorRelationInterface;
|
use App\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
||||||
|
|
||||||
class CreatorRelationAttributTest extends TestCase
|
class CreatorRelationAttributTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace App\Tests\Unit\Entity\Attribut;
|
namespace App\Tests\Unit\Entity\Attribut;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use App\Entity\Meta\RelationInterface;
|
use App\Entity\Meta\Relation\RelationInterface;
|
||||||
use App\Entity\Attribut\RelationAttributInterface;
|
use App\Entity\Attribut\RelationAttributInterface;
|
||||||
use App\Entity\Attribut\RelationAttribut;
|
use App\Entity\Attribut\RelationAttribut;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user