mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
|
<?php
|
||
|
|
||
|
namespace App\Domain\FormManagement;
|
||
|
|
||
|
use Symfony\Component\Form\FormBuilderInterface;
|
||
|
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
|
||
|
|
||
|
/**
|
||
|
* @author kevinfrantz
|
||
|
*/
|
||
|
final class RequestedActionFormBuilderService extends RequestedActionFormBuilder implements RequestedActionFormBuilderServiceInterface
|
||
|
{
|
||
|
/**
|
||
|
* @var RequestedActionServiceInterface
|
||
|
*/
|
||
|
private $requestedActionService;
|
||
|
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*
|
||
|
* @see \App\Domain\FormManagement\RequestedActionFormBuilder::__construct()
|
||
|
*/
|
||
|
public function __construct(FormBuilderInterface $formBuilder, FormClassNameServiceInterface $formClassNameService, RequestedActionServiceInterface $requestedActionService)
|
||
|
{
|
||
|
parent::__construct($formBuilder, $formClassNameService);
|
||
|
$this->requestedActionService = $requestedActionService;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*
|
||
|
* @see \App\Domain\FormManagement\RequestedActionFormBuilderServiceInterface::createByRequestedActionService()
|
||
|
*/
|
||
|
public function createByService(): FormBuilderInterface
|
||
|
{
|
||
|
return parent::create($this->requestedActionService);
|
||
|
}
|
||
|
}
|