Last active
February 22, 2020 06:07
-
-
Save rizkhal/146420b0ed3d1104f8faef397d4d1205 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\Repositories; | |
interface PostRepositoryInterface { | |
public function all(); | |
public function take(int $limit); | |
public function paginate(int $limit); | |
public function save(array $request); | |
public function find(string $slug); | |
public function update(string $slug, array $request); | |
public function delete(string $slug); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment