friendica-directory/src/classes/Routes/Console/ProfileAdd.php

18 lines
360 B
PHP
Raw Normal View History

2018-11-14 04:01:52 +01:00
<?php
namespace Friendica\Directory\Routes\Console;
/**
* @author Hypolite Petovan <hypolite@mrpetovan.com>
2018-11-14 04:01:52 +01:00
*/
class ProfileAdd extends BaseRoute
{
public function __invoke(array $args)
{
return (new \Friendica\Directory\Controllers\Console\ProfileAdd(
$this->container->get(\Friendica\Directory\Models\ProfilePollQueue::class),
2018-11-14 04:01:52 +01:00
$args
));
}
}