Created
September 5, 2019 12:07
-
-
Save moin786/2b5f195c708064668d6f8871efaf5acd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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