fediverse-feed-wrappers/public/index.php

16 lines
448 B
PHP
Raw Normal View History

2023-02-16 08:33:59 +01:00
<?php
use DanielSiepmann\FediverseFeedWrappers\RequestHandler;
use DanielSiepmann\FediverseFeedWrappers\WrapperRegistry;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\Frontpage;
2023-02-16 08:33:59 +01:00
use DanielSiepmann\FediverseFeedWrappers\Wrapper\GitHubTypo3;
require_once __DIR__ . '/../vendor/autoload.php';
(new RequestHandler(
new WrapperRegistry([
'' => Frontpage::class,
2023-02-16 08:33:59 +01:00
'GitHubTypo3' => GitHubTypo3::class,
])
))->handleRequest();