Daniel Siepmann
e224e57dd6
Issues sometimes contain a lot of code and text. We will now handle them just like commits.
19 lines
701 B
PHP
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();
|