mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +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();
|
|
|
|
}
|