2018-11-12 03:08:33 +01:00
|
|
|
<?php
|
|
|
|
|
2018-11-16 05:59:00 +01:00
|
|
|
namespace Friendica\Directory\Routes\Web;
|
2018-11-12 03:08:33 +01:00
|
|
|
|
|
|
|
/**
|
2020-06-13 19:15:53 +02:00
|
|
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
2018-11-12 03:08:33 +01:00
|
|
|
*/
|
|
|
|
class Directory extends BaseRoute
|
|
|
|
{
|
2018-11-16 05:59:00 +01:00
|
|
|
public function __construct(\Slim\Container $container)
|
2018-11-12 03:08:33 +01:00
|
|
|
{
|
2018-11-16 05:59:00 +01:00
|
|
|
parent::__construct($container);
|
|
|
|
|
|
|
|
$this->controller = new \Friendica\Directory\Controllers\Web\Directory(
|
2018-11-12 03:08:33 +01:00
|
|
|
$this->container->atlas,
|
2020-10-26 01:19:41 +01:00
|
|
|
$this->container->get(\Friendica\Directory\Models\Profile::class),
|
|
|
|
$this->container->get(\Friendica\Directory\Views\Widget\AccountTypeTabs::class),
|
2018-11-12 03:08:33 +01:00
|
|
|
$this->container->renderer,
|
2018-11-16 05:59:00 +01:00
|
|
|
$this->container->l10n
|
|
|
|
);
|
2018-11-12 03:08:33 +01:00
|
|
|
}
|
|
|
|
}
|