19 lines
344 B
PHP
19 lines
344 B
PHP
<?php
|
|
|
|
namespace App\Steps;
|
|
|
|
use App\Services\TrafficService;
|
|
|
|
class TrafficRegistration extends CommonStep
|
|
{
|
|
public function __construct(private TrafficService $_traficService)
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
public function execute(array $context): array
|
|
{
|
|
return $this->_traficService->registerTrafficAndGetId($context);
|
|
}
|
|
}
|