18 lines
503 B
PHP
18 lines
503 B
PHP
<?php
|
|
|
|
namespace Friendica\Directory\Routes\Http;
|
|
|
|
/**
|
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
|
*/
|
|
class MatchSearch extends BaseRoute
|
|
{
|
|
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
|
{
|
|
return (new \Friendica\Directory\Controllers\Api\MatchSearch(
|
|
$this->container->atlas,
|
|
$this->container->get('\Friendica\Directory\Models\Profile'),
|
|
$this->container->l10n
|
|
))->render($request, $response, $args);
|
|
}
|
|
}
|