| 1234567891011121314151617181920212223242526 |
- <?php
- declare(strict_types=1);
- namespace App\Message\Handler\Typo3;
- use App\Message\Message\Typo3\Typo3Update;
- use App\Service\Typo3\Typo3Service;
- use Symfony\Component\Messenger\Attribute\AsMessageHandler;
- #[AsMessageHandler(priority: 1)]
- class Typo3JustMakeItWorkHandler
- {
- public function __construct(
- private Typo3Service $typo3Service,
- ) {
- }
- /**
- * @throws \Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface
- */
- public function __invoke(Typo3Update $command): void
- {
- $this->typo3Service->justMakeItWorkSite($command->getOrganizationId());
- }
- }
|