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