mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
33 lines
732 B
PHP
33 lines
732 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\ActionManagement;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
final class ActionHandlerService implements ActionHandlerServiceInterface
|
|
{
|
|
/**
|
|
* @var ActionFactoryServiceInterface
|
|
*/
|
|
private $actionFactoryService;
|
|
|
|
/**
|
|
* @param ActionFactoryServiceInterface $actionFactoryService
|
|
*/
|
|
public function __construct(ActionFactoryServiceInterface $actionFactoryService)
|
|
{
|
|
$this->actionFactoryService = $actionFactoryService;
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*
|
|
* @see \Infinito\Domain\ActionManagement\ActionHandlerServiceInterface::handle()
|
|
*/
|
|
public function handle()
|
|
{
|
|
return $this->actionFactoryService->create()->execute();
|
|
}
|
|
}
|