friendica-directory/src/classes/Routes/Console/DirectoryAdd.php
2018-11-11 21:08:33 -05:00

18 lines
317 B
PHP

<?php
namespace Friendica\Directory\Routes\Console;
/**
* @author Hypolite Petovan <mrpetovan@gmail.com>
*/
class DirectoryAdd extends BaseRoute
{
public function __invoke(array $args)
{
return (new \Friendica\Directory\Controllers\Console\DirectoryAdd(
$this->container->get('atlas'),
$args
));
}
}