mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 17:29:04 +00:00 
			
		
		
		
	Removed unnecessary functions
This commit is contained in:
		| @@ -110,24 +110,4 @@ final class ViewBuilder implements ViewBuilderInterface | ||||
|  | ||||
|         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; | ||||
|  | ||||
| use FOS\RestBundle\View\View; | ||||
| use Infinito\Domain\ActionManagement\ActionServiceInterface; | ||||
|  | ||||
| /** | ||||
|  * @author kevinfrantz | ||||
| @@ -14,14 +13,4 @@ interface ViewBuilderInterface | ||||
|      * @return View | ||||
|      */ | ||||
|     public function getView(): View; | ||||
|  | ||||
|     /** | ||||
|      * @return ActionServiceInterface | ||||
|      */ | ||||
|     public function getActionService(): ActionServiceInterface; | ||||
|  | ||||
|     /** | ||||
|      * Builds the view. | ||||
|      */ | ||||
|     public function build(): void; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user