mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 10:16:22 +02:00
Removed unnecessary functions
This commit is contained in:
parent
8594ad82e7
commit
5cbbcb3681
@ -110,24 +110,4 @@ final class ViewBuilder implements ViewBuilderInterface
|
|||||||
|
|
||||||
return $this->view;
|
return $this->view;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*
|
|
||||||
* @see \Infinito\Domain\ViewManagement\ViewBuilderInterface::getActionService()
|
|
||||||
*/
|
|
||||||
public function getActionService(): ActionServiceInterface
|
|
||||||
{
|
|
||||||
return $this->actionService;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*
|
|
||||||
* @see \Infinito\Domain\ViewManagement\ViewBuilderInterface::build()
|
|
||||||
*/
|
|
||||||
public function build(): void
|
|
||||||
{
|
|
||||||
$this->view->create();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
namespace Infinito\Domain\ViewManagement;
|
namespace Infinito\Domain\ViewManagement;
|
||||||
|
|
||||||
use FOS\RestBundle\View\View;
|
use FOS\RestBundle\View\View;
|
||||||
use Infinito\Domain\ActionManagement\ActionServiceInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
@ -14,14 +13,4 @@ interface ViewBuilderInterface
|
|||||||
* @return View
|
* @return View
|
||||||
*/
|
*/
|
||||||
public function getView(): View;
|
public function getView(): View;
|
||||||
|
|
||||||
/**
|
|
||||||
* @return ActionServiceInterface
|
|
||||||
*/
|
|
||||||
public function getActionService(): ActionServiceInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Builds the view.
|
|
||||||
*/
|
|
||||||
public function build(): void;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user