mediawiki-extensions-Echo/model/AbstractEntity.php
bsitu 4bf88aa741 Hygiene: Add abstract model and mapper for notification
* 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
2014-08-13 00:11:15 +00:00

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