mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Applied CS fixer
This commit is contained in:
@@ -7,7 +7,6 @@ use App\Entity\Source\SourceInterface;
|
||||
use App\Entity\User;
|
||||
use App\DBAL\Types\RightType;
|
||||
use App\DBAL\Types\LayerType;
|
||||
use App\Structur\Facade\Security\Source\SourceFacadeInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -15,7 +14,8 @@ use App\Structur\Facade\Security\Source\SourceFacadeInterface;
|
||||
abstract class AbstractSourceFacade implements SourceFacadeInterface
|
||||
{
|
||||
/**
|
||||
* Propably it woul be better to solve this over the constructor
|
||||
* Propably it woul be better to solve this over the constructor.
|
||||
*
|
||||
* @var User
|
||||
*/
|
||||
protected static $facadeUser;
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Structur\Facade\Security\Source;
|
||||
|
||||
use App\Entity\Source\SourceInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface SourceFacadeInterface extends SourceInterface
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace App\Structur\Facade\Security\Source;
|
||||
|
||||
use App\Entity\Meta\LawInterface;
|
||||
@@ -12,13 +13,12 @@ use Doctrine\Common\Collections\Collection;
|
||||
|
||||
/**
|
||||
* @todo check if this layer makes sense
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class UserSourceFacade extends AbstractSourceFacade implements UserSourceInterface
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
* @var UserSourceInterface
|
||||
*/
|
||||
protected $source;
|
||||
@@ -45,61 +45,64 @@ class UserSourceFacade extends AbstractSourceFacade implements UserSourceInterfa
|
||||
}
|
||||
|
||||
public function getUser(): UserInterface
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
public function setUser(UserInterface $user): void
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
public function getVersion(): int
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
public function setVersion(int $version): void
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
public function setSource(SourceInterface $source): void
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
public function getGroupSources(): Collection
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
public function getSource(): SourceInterface
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
public function setGroupSources(Collection $groups): void
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
public function setLaw(LawInterface $law): void
|
||||
{
|
||||
/**
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
@@ -107,10 +110,9 @@ class UserSourceFacade extends AbstractSourceFacade implements UserSourceInterfa
|
||||
|
||||
public function getLaw(): LawInterface
|
||||
{
|
||||
/**
|
||||
/*
|
||||
*
|
||||
* @todo Implement
|
||||
*/
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user