mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Solved some namespace bugs
This commit is contained in:
parent
d255623f85
commit
a6fac55be4
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Creator\Factory;
|
namespace App\Creator\Factory;
|
||||||
|
|
||||||
use App\Entity\SourceInterface;
|
use App\Entity\SourceInterface;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Creator\Factory\Form\Source;
|
namespace App\Creator\Factory\Form\Source;
|
||||||
|
|
||||||
use Creator\Factory\AbstractSourceFactory;
|
use App\Creator\Factory\AbstractSourceFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
|
@ -15,18 +15,19 @@ use App\Structur\Facade\Security\Source\interfaces\SourceFacadeInterface;
|
|||||||
abstract class AbstractSourceFacade implements SourceFacadeInterface
|
abstract class AbstractSourceFacade implements SourceFacadeInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
* Propably it woul be better to solve this over the constructor
|
||||||
* @var User
|
* @var User
|
||||||
*/
|
*/
|
||||||
protected static $user;
|
protected static $facadeUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var SourceInterface
|
* @var SourceInterface
|
||||||
*/
|
*/
|
||||||
protected $source;
|
protected $source;
|
||||||
|
|
||||||
public static function setUser(User $user): void
|
public static function setFacadeUser(User $facadeUser): void
|
||||||
{
|
{
|
||||||
self::$user = $user;
|
self::$facadeUser = $facadeUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __construct(SourceInterface $source)
|
public function __construct(SourceInterface $source)
|
||||||
|
@ -41,5 +41,11 @@ class UserSourceFacade extends AbstractSourceFacade implements UserSourceInterfa
|
|||||||
|
|
||||||
public function getUser(): User
|
public function getUser(): User
|
||||||
{
|
{
|
||||||
|
//FILL
|
||||||
}
|
}
|
||||||
|
public function setUser(User $user): void
|
||||||
|
{
|
||||||
|
//FILL
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user