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

18 lines
354 B
PHP
Raw Normal View History

2018-11-12 03:08:33 +01:00
<?php
namespace Friendica\Directory\Routes\Console;
/**
* @author Hypolite Petovan <hypolite@mrpetovan.com>
2018-11-12 03:08:33 +01:00
*/
class ProfilePoll extends BaseRoute
{
public function __invoke(array $args)
{
return (new \Friendica\Directory\Controllers\Console\ProfilePoll(
$this->container->get(\Friendica\Directory\Pollers\Profile::class),
2018-11-12 03:08:33 +01:00
$args
));
}
}