friendica/src/Capabilities/ICanCreateFromTableRow.php

17 lines
276 B
PHP

<?php
namespace Friendica\Capabilities;
use Friendica\BaseEntity;
interface ICanCreateFromTableRow
{
/**
* Returns the corresponding Entity given a table row record
*
* @param array $row
* @return BaseEntity
*/
public function createFromTableRow(array $row);
}