Files
piratepoet/lib/Models/MappingToExternalEntities.php
Jan Jakeš b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00

14 lines
296 B
PHP

<?php
namespace MailPoet\Models;
class MappingToExternalEntities extends Model {
public static $_table = MP_MAPPING_TO_EXTERNAL_ENTITIES_TABLE;
public static function create($data = []) {
$relation = parent::create();
$relation->hydrate($data);
return $relation->save();
}
}