In between commit implementing security layer

This commit is contained in:
Kevin Frantz
2018-09-22 02:12:03 +02:00
parent bbcf369347
commit d255623f85
8 changed files with 129 additions and 38 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Creator\Factory\Facade\Security;
use App\Structur\Facade\Security\Source\interfaces\SourceFacadeInterface;
/**
* @author kevinfrantz
*/
final class SourceFacadeFactory
{
public function getSourceFacade(): SourceFacadeInterface
{
$className = $this->getSourceFacadeClassName();
return new $className();
}
private function getSourceFacadeClassName(): string
{
return 'App\Structur\Facade\Security\Source\\'.$this->getSourceFacadeClassName().'Facade';
}
}