Skip to content

Instantly share code, notes, and snippets.

@moin786
Created September 5, 2019 12:07
Show Gist options
  • Save moin786/2b5f195c708064668d6f8871efaf5acd to your computer and use it in GitHub Desktop.
Save moin786/2b5f195c708064668d6f8871efaf5acd to your computer and use it in GitHub Desktop.
<?php
namespace App\Blog\AbstractModel;
use App\Blog\Contracts\IConsume;
abstract class AbstractComsumeModel implements IConsume {
/**
* Show blog posts
*
* @return json object
*/
public function showBlogs(){}
/**
* Undocumented function
*
* @param array $data
* @return void
*/
public function createBlog(array $data){}
/**
* Undocumented function
*
* @param [type] $id
* @return void
*/
public function updateBlog($id){}
/**
* Undocumented function
*
* @param [type] $id
* @return void
*/
public function deleteBlog($id){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment