friendica-directory/src/classes/Routes/Web/Directory.php

23 lines
566 B
PHP
Raw Normal View History

2018-11-12 03:08:33 +01:00
<?php
namespace Friendica\Directory\Routes\Web;
2018-11-12 03:08:33 +01:00
/**
* @author Hypolite Petovan <hypolite@mrpetovan.com>
2018-11-12 03:08:33 +01:00
*/
class Directory extends BaseRoute
{
public function __construct(\Slim\Container $container)
2018-11-12 03:08:33 +01:00
{
parent::__construct($container);
$this->controller = new \Friendica\Directory\Controllers\Web\Directory(
2018-11-12 03:08:33 +01:00
$this->container->atlas,
$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,
$this->container->l10n
);
2018-11-12 03:08:33 +01:00
}
}