mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-27 00:36:44 +03:00
16 lines
349 B
PHP
16 lines
349 B
PHP
<?php
|
|
|
|
namespace Plugins\Example;
|
|
|
|
class ContactSuggestions implements \RainLoop\Providers\Suggestions\ISuggestions
|
|
{
|
|
// use \MailSo\Log\Inherit;
|
|
|
|
public function Process(\RainLoop\Model\Account $oAccount, string $sQuery, int $iLimit = 20) : array
|
|
{
|
|
return array(
|
|
array($oAccount->Email(), ''),
|
|
array('email@domain.com', 'name')
|
|
);
|
|
}
|
|
}
|