. * */ namespace Friendica\Worker; use Friendica\Core\Logger; use Friendica\Protocol\ActivityPub; class FetchFeaturedPosts { /** * Fetch featured posts from a contact with the given URL * @param string $url Contact URL */ public static function execute(string $url) { Logger::info('Start fetching featured posts', ['url' => $url]); ActivityPub\Processor::fetchFeaturedPosts($url); Logger::info('Finished fetching featured posts', ['url' => $url]); } }