interface CanFindByAnyKey (View source)

This interface might be part of the StorageDriver interface in 3.x.

Methods

findBy(string $key, mixed $value)

Find a tenant using an arbitrary key.

Details

Tenant findBy(string $key, mixed $value)

Find a tenant using an arbitrary key.

Parameters

string $key
mixed $value

Return Value

Tenant

Exceptions

TenantDoesNotExistException