2021-08-29 03:55:04 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Friendica\Capabilities;
|
|
|
|
|
|
|
|
use Friendica\BaseEntity;
|
|
|
|
|
|
|
|
interface ICanCreateFromTableRow
|
|
|
|
{
|
|
|
|
/**
|
2021-10-05 23:30:10 +02:00
|
|
|
* Returns the corresponding Entity given a table row record
|
2021-08-29 03:55:04 +02:00
|
|
|
*
|
|
|
|
* @param array $row
|
|
|
|
* @return BaseEntity
|
|
|
|
*/
|
|
|
|
public function createFromTableRow(array $row);
|
|
|
|
}
|