mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-14 11:16:16 +00:00
4bf88aa741
* Shared function can be put in the abstract class and this also enforces some interface methods * Initialize a default dbFactory when it's not passed to the mapper Change-Id: I1033dafaa90a1f683fbe9ad69bed04f4844e357b
15 lines
198 B
PHP
15 lines
198 B
PHP
<?php
|
|
|
|
/**
|
|
* Abstract entity for Echo model
|
|
*/
|
|
abstract class EchoAbstractEntity {
|
|
|
|
/**
|
|
* Convert an entity's property to array
|
|
* @return array
|
|
*/
|
|
abstract public function toDbArray();
|
|
|
|
}
|