Commit 07ebb0ba authored by Nicolas Widart's avatar Nicolas Widart

Adding repositories

parent 8dfddc7f
<?php namespace Modules\Media\Repositories\Eloquent;
use Modules\Core\Repositories\Eloquent\EloquentBaseRepository;
use Modules\Media\Repositories\FileRepository;
class EloquentFileRepository extends EloquentBaseRepository implements FileRepository
{
/**
* Update a resource
* @param $id
* @param $data
* @return mixed
*/
public function update($id, $data)
{
}
}
<?php namespace Modules\Media\Repositories;
use Modules\Core\Repositories\BaseRepository;
interface FileRepository extends BaseRepository
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment