mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 01:09:41 +00:00 
			
		
		
		
	Declared AbstractNameSource as abstract and adapted paths for usersource
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
|  | ||||
| namespace App\Entity\Source\Data; | ||||
| namespace App\Entity\Source\Combination; | ||||
|  | ||||
| use Doctrine\ORM\Mapping as ORM; | ||||
| use App\Entity\Attribut\UserAttribut; | ||||
| @@ -12,7 +12,7 @@ use Entity\Attribut\PersonIdentityAttribut; | ||||
|  * @ORM\Table(name="source_data_user") | ||||
|  * @ORM\Entity(repositoryClass="App\Repository\UserSourceRepository") | ||||
|  */ | ||||
| class UserSource extends AbstractDataSource implements UserSourceInterface | ||||
| class UserSource extends AbstractCombinationSource implements UserSourceInterface | ||||
| { | ||||
|     use UserAttribut,PersonIdentityAttribut; | ||||
|  | ||||
|   | ||||
| @@ -1,9 +1,10 @@ | ||||
| <?php | ||||
|  | ||||
| namespace App\Entity\Source\Data; | ||||
| namespace App\Entity\Source\Combination; | ||||
|  | ||||
| use App\Entity\Attribut\UserAttributInterface; | ||||
| use App\Entity\Attribut\PersonIdentitySourceAttributInterface; | ||||
| use App\Entity\Source\Data\DataSourceInterface; | ||||
|  | ||||
| /** | ||||
|  * @author kevinfrantz | ||||
|   | ||||
| @@ -4,6 +4,6 @@ namespace App\Entity\Source\Data\Name; | ||||
|  | ||||
| use App\Entity\Source\Data\AbstractDataSource; | ||||
|  | ||||
| class AbstractNameSource extends AbstractDataSource implements NameSourceInterface | ||||
| abstract class AbstractNameSource extends AbstractDataSource implements NameSourceInterface | ||||
| { | ||||
| } | ||||
|   | ||||
| @@ -6,8 +6,8 @@ use Doctrine\ORM\Mapping as ORM; | ||||
| use FOS\UserBundle\Model\User as BaseUser; | ||||
| use App\Entity\Attribut\SourceAttribut; | ||||
| use App\Entity\Attribut\IdAttribut; | ||||
| use App\Entity\Source\Data\UserSourceInterface; | ||||
| use App\Entity\Source\Data\UserSource; | ||||
| use App\Entity\Source\Combination\UserSourceInterface; | ||||
| use App\Entity\Source\Combination\UserSource; | ||||
| use App\Entity\Attribut\VersionAttribut; | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -3,8 +3,8 @@ | ||||
| namespace tests\unit\Entity\Source\Combination; | ||||
|  | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use App\Entity\Source\Data\UserSourceInterface; | ||||
| use App\Entity\Source\Data\UserSource; | ||||
| use App\Entity\Source\Combination\UserSourceInterface; | ||||
| use App\Entity\Source\Combination\UserSource; | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| use App\Entity\Source\Data\PersonIdentitySourceInterface; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user