Removed Security Facade Factory

This commit is contained in:
Kevin Frantz 2018-11-23 10:46:45 +01:00
parent c67f77aab4
commit ab1ea1ff06

View File

@ -1,23 +0,0 @@
<?php
namespace App\Creator\Factory\Facade\Security;
use App\Structur\Facade\Security\Source\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';
}
}