mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
Some small formatting changes for ldap identities FWest98 accidentally removed `case 'suggestions': $mResult = [];` in fabrica?
34 lines
555 B
PHP
Executable file
34 lines
555 B
PHP
Executable file
<?php
|
|
|
|
namespace RainLoop\Providers\Identities;
|
|
|
|
use RainLoop\Model\Account;
|
|
use RainLoop\Model\Identity;
|
|
|
|
interface IIdentities
|
|
{
|
|
/**
|
|
* @param Account $account
|
|
*
|
|
* @return Identity[]
|
|
*/
|
|
public function GetIdentities(Account $account): array;
|
|
|
|
/**
|
|
* @param Account $account
|
|
* @param Identity[] $identities
|
|
*
|
|
* @return void
|
|
*/
|
|
public function SetIdentities(Account $account, array $identities): void;
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function SupportsStore(): bool;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function Name(): string;
|
|
}
|