mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Also removed: POP3, OAuth2 and update feature Added: admin password_hash/password_verify Requires: PHP 7.3+ Replaced: CRLF with LF Replaced: pclZip with ZipArchive
19 lines
441 B
PHP
19 lines
441 B
PHP
<?php
|
|
|
|
namespace RainLoop\Providers\Suggestions;
|
|
|
|
class TestSuggestions implements \RainLoop\Providers\Suggestions\ISuggestions
|
|
{
|
|
/**
|
|
* @param \RainLoop\Model\Account $oAccount
|
|
* @param string $sQuery
|
|
* @param int $iLimit = 20
|
|
*/
|
|
public function Process(\RainLoop\Model\Account $oAccount, string $sQuery, int $iLimit = 20) : array
|
|
{
|
|
return array(
|
|
array($oAccount->Email(), ''),
|
|
array('email@domain.com', 'name')
|
|
);
|
|
}
|
|
}
|