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);
|
||
|
}
|