fediverse-feed-wrappers/public/index.php
Daniel Siepmann e224e57dd6
Add new wrapper for TYPO3 issues
Issues sometimes contain a lot of code and text.
We will now handle them just like commits.
2024-05-24 09:35:36 +02:00

19 lines
701 B
PHP

<?php
use DanielSiepmann\FediverseFeedWrappers\RequestHandler;
use DanielSiepmann\FediverseFeedWrappers\WrapperRegistry;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\DanielSiepmannTypo3;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\ForgeTypo3Issues;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\Frontpage;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\GitHubTypo3;
require_once __DIR__ . '/../vendor/autoload.php';
(new RequestHandler(
new WrapperRegistry([
'' => Frontpage::class,
'GitHubTypo3' => GitHubTypo3::class,
'ForgeTypo3Issues' => ForgeTypo3Issues::class,
'DanielSiepmannTypo3' => DanielSiepmannTypo3::class,
])
))->handleRequest();