INIT: initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
namespace Modules\ContentFilter\Repositories;
|
||||
|
||||
use \Modules\ContentFilter\Entities\ContentFilter as ContentFilterEntity;
|
||||
|
||||
class ContentFilterRepository {
|
||||
/**
|
||||
* Create new instance of entity
|
||||
*
|
||||
* @param $data
|
||||
*/
|
||||
public function create($data) {
|
||||
ContentFilterEntity::create($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update entity
|
||||
*
|
||||
* @param ContentFilterEntity $entity
|
||||
*/
|
||||
public function update(ContentFilterEntity $entity, $data) {
|
||||
$entity->update($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user