mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-19 16:46:03 +02:00
Changed App namespace to Infinito namespace
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex\Collection;
|
||||
namespace Infinito\Entity\Source\Complex\Collection;
|
||||
|
||||
use App\Entity\Source\AbstractSource;
|
||||
use App\Attribut\CollectionAttribut;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Attribut\CollectionAttribut;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use App\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
||||
@@ -18,7 +18,7 @@ abstract class AbstractCollectionSource extends AbstractSource implements Collec
|
||||
|
||||
/**
|
||||
* @var Collection|SourceInterface[]
|
||||
* @ORM\ManyToMany(targetEntity="App\Entity\Source\AbstractSource")
|
||||
* @ORM\ManyToMany(targetEntity="Infinito\Entity\Source\AbstractSource")
|
||||
* @ORM\JoinTable(name="collection_source",
|
||||
* joinColumns={@ORM\JoinColumn(name="collection_id", referencedColumnName="id")},
|
||||
* inverseJoinColumns={@ORM\JoinColumn(name="source_id", referencedColumnName="id")}
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex\Collection;
|
||||
namespace Infinito\Entity\Source\Complex\Collection;
|
||||
|
||||
use App\Entity\Source\SourceInterface;
|
||||
use App\Attribut\CollectionAttributInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Attribut\CollectionAttributInterface;
|
||||
|
||||
interface CollectionSourceInterface extends SourceInterface, CollectionAttributInterface
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex\Collection;
|
||||
namespace Infinito\Entity\Source\Complex\Collection;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex\Collection;
|
||||
namespace Infinito\Entity\Source\Complex\Collection;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
|
||||
/**
|
||||
* Complex sources contain out of one or more primitive sources.
|
||||
|
@@ -1,14 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Attribut\FirstNameSourceAttribut;
|
||||
use App\Attribut\SurnameSourceAttribut;
|
||||
use App\Entity\Source\Primitive\Name\SurnameSource;
|
||||
use App\Entity\Source\Primitive\Name\FirstNameSource;
|
||||
use Infinito\Attribut\FirstNameSourceAttribut;
|
||||
use Infinito\Attribut\SurnameSourceAttribut;
|
||||
use Infinito\Entity\Source\Primitive\Name\SurnameSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use App\Entity\Source\Primitive\Name\SurnameSourceInterface;
|
||||
use App\Entity\Source\Primitive\Name\FirstNameSourceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\SurnameSourceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSourceInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -19,7 +19,7 @@ class FullPersonNameSource extends AbstractComplexSource implements FullPersonNa
|
||||
use FirstNameSourceAttribut,SurnameSourceAttribut;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="App\Entity\Source\Primitive\Name\SurnameSource",cascade={"persist", "remove"})
|
||||
* @ORM\OneToOne(targetEntity="Infinito\Entity\Source\Primitive\Name\SurnameSource",cascade={"persist", "remove"})
|
||||
* @ORM\JoinColumn(name="surname_id", referencedColumnName="id",onDelete="CASCADE")
|
||||
*
|
||||
* @var SurnameSourceInterface
|
||||
@@ -27,7 +27,7 @@ class FullPersonNameSource extends AbstractComplexSource implements FullPersonNa
|
||||
protected $surnameSource;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="App\Entity\Source\Primitive\Name\FirstNameSource",cascade={"persist", "remove"})
|
||||
* @ORM\OneToOne(targetEntity="Infinito\Entity\Source\Primitive\Name\FirstNameSource",cascade={"persist", "remove"})
|
||||
* @ORM\JoinColumn(name="firstname_id", referencedColumnName="id",onDelete="CASCADE")
|
||||
*
|
||||
* @var FirstNameSourceInterface
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Attribut\FirstNameSourceAttributInterface;
|
||||
use App\Attribut\SurnameSourceAttributInterface;
|
||||
use Infinito\Attribut\FirstNameSourceAttributInterface;
|
||||
use Infinito\Attribut\SurnameSourceAttributInterface;
|
||||
|
||||
/**
|
||||
* @todo Maybe a middle name would be helpfull in the future ;)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Attribut\FullPersonNameSourceAttribut;
|
||||
use Infinito\Attribut\FullPersonNameSourceAttribut;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Attribut\FullPersonNameSourceAttributInterface;
|
||||
use Infinito\Attribut\FullPersonNameSourceAttributInterface;
|
||||
|
||||
interface PersonIdentitySourceInterface extends ComplexSourceInterface, FullPersonNameSourceAttributInterface
|
||||
{
|
||||
|
@@ -1,22 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use App\Attribut\UserAttribut;
|
||||
use App\Entity\UserInterface;
|
||||
use App\Attribut\PersonIdentitySourceAttribut;
|
||||
use Infinito\Attribut\UserAttribut;
|
||||
use Infinito\Entity\UserInterface;
|
||||
use Infinito\Attribut\PersonIdentitySourceAttribut;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
* @ORM\Entity(repositoryClass="App\Repository\Source\Complex\UserSourceRepository")
|
||||
* @ORM\Entity(repositoryClass="Infinito\Repository\Source\Complex\UserSourceRepository")
|
||||
*/
|
||||
class UserSource extends AbstractComplexSource implements UserSourceInterface
|
||||
{
|
||||
use UserAttribut,PersonIdentitySourceAttribut;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="App\Entity\User",cascade={"persist", "remove"})
|
||||
* @ORM\OneToOne(targetEntity="Infinito\Entity\User",cascade={"persist", "remove"})
|
||||
* @ORM\JoinColumn(name="user_id", referencedColumnName="id",onDelete="CASCADE")
|
||||
*
|
||||
* @var UserInterface
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Complex;
|
||||
namespace Infinito\Entity\Source\Complex;
|
||||
|
||||
use App\Attribut\UserAttributInterface;
|
||||
use App\Attribut\PersonIdentitySourceAttributInterface;
|
||||
use Infinito\Attribut\UserAttributInterface;
|
||||
use Infinito\Attribut\PersonIdentitySourceAttributInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
Reference in New Issue
Block a user