mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 06:27:24 +01:00
Optimized namespaces
This commit is contained in:
parent
73a8d5f133
commit
6352e82ce1
@ -1,18 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace src\Domain\TemplateManagement;
|
||||
namespace App\Domain\TemplateManagement;
|
||||
|
||||
use App\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
|
||||
use App\Domain\TemplateManagement\TemplatePathInformation;
|
||||
use App\Domain\TemplateManagement\TemplatePathInformationInterface;
|
||||
use App\Domain\FormManagement\FormMeta;
|
||||
use App\Domain\FormManagement\FormMetaInformation;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class TemplatePathFormAndView implements TemplatePathFormAndViewInterface
|
||||
{
|
||||
const FORM_FOLDER = FormMeta::FOLDER;
|
||||
const FORM_FOLDER = FormMetaInformation::FOLDER;
|
||||
|
||||
const VIEW_FOLDER = 'view';
|
||||
|
||||
@ -52,7 +49,7 @@ final class TemplatePathFormAndView implements TemplatePathFormAndViewInterface
|
||||
*/
|
||||
private function setView(string $file, string $folder): void
|
||||
{
|
||||
$this->view = new TemplatePathInformation($file, $folder, $type, self::VIEW_FOLDER);
|
||||
$this->view = new TemplatePathInformation($file, $folder, self::VIEW_FOLDER);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user