2018-11-11 21:08:33 -05:00
|
|
|
<?php
|
|
|
|
|
2018-11-15 23:59:00 -05:00
|
|
|
namespace Friendica\Directory\Routes\Web;
|
2018-11-11 21:08:33 -05:00
|
|
|
|
|
|
|
/**
|
2020-06-13 13:15:53 -04:00
|
|
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
2018-11-11 21:08:33 -05:00
|
|
|
*/
|
|
|
|
class Directory extends BaseRoute
|
|
|
|
{
|
2018-11-15 23:59:00 -05:00
|
|
|
public function __construct(\Slim\Container $container)
|
2018-11-11 21:08:33 -05:00
|
|
|
{
|
2018-11-15 23:59:00 -05:00
|
|
|
parent::__construct($container);
|
|
|
|
|
|
|
|
$this->controller = new \Friendica\Directory\Controllers\Web\Directory(
|
2018-11-11 21:08:33 -05: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-11 21:08:33 -05:00
|
|
|
$this->container->renderer,
|
2018-11-15 23:59:00 -05:00
|
|
|
$this->container->l10n
|
|
|
|
);
|
2018-11-11 21:08:33 -05:00
|
|
|
}
|
|
|
|
}
|