mirror of
https://github.com/friendica/friendica
synced 2024-06-24 08:10:34 +02:00
Hypolite Petovan
1b4e3564a5
- Create BaseDepository class - Create Entity, Collection, Factory and Depository classes - Create FormattedNotification Entity, Collection and Factory to remove business logic from Notify repository - Create new NotificationCreationIntercepted exception to allow addons to cancel notification creation - Remove unused frio notifications/notify.tpl template
17 lines
276 B
PHP
17 lines
276 B
PHP
<?php
|
|
|
|
namespace Friendica\Capabilities;
|
|
|
|
use Friendica\BaseEntity;
|
|
|
|
interface ICanCreateFromTableRow
|
|
{
|
|
/**
|
|
* Returns the correcponding Entity given a table row record
|
|
*
|
|
* @param array $row
|
|
* @return BaseEntity
|
|
*/
|
|
public function createFromTableRow(array $row);
|
|
}
|