2019-02-03 15:30:31 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Friendica\Directory\Routes\Http;
|
|
|
|
|
|
|
|
/**
|
2020-06-13 19:15:53 +02:00
|
|
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
2019-02-03 15:30:31 +01:00
|
|
|
*/
|
|
|
|
class Surprise extends BaseRoute
|
|
|
|
{
|
|
|
|
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
|
|
|
{
|
|
|
|
return (new \Friendica\Directory\Controllers\Api\Surprise(
|
|
|
|
$this->container->atlas
|
|
|
|
))->render($request, $response, $args);
|
|
|
|
}
|
|
|
|
}
|