16 lines
376 B
PHP
16 lines
376 B
PHP
<?php
|
|
declare( strict_types=1 );
|
|
|
|
namespace StreamGoals\Overlay;
|
|
|
|
/** Optional capability: the newest approved donations, independent of any client cursor. */
|
|
interface RecentDonationsSource {
|
|
|
|
/**
|
|
* The $limit newest completed + approved donations, ascending id.
|
|
*
|
|
* @return array<int,array<string,mixed>>
|
|
*/
|
|
public function recentDonations( int $limit ): array;
|
|
}
|