Created
November 15, 2020 12:42
-
-
Save ksmylmz/31b0391c642fa6daa0ace8bdee2e1045 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 | |
interface IUserActions | |
{ | |
public function create(); | |
public function read(); | |
public function update(); | |
public function delete(); | |
} | |
class AdminUserActions implements IUserActions | |
{ | |
public function create(){ | |
//createAcitons | |
} | |
public function read(){ | |
//readAcitons | |
} | |
public function update(){ | |
//updateAcitons | |
} | |
public function delete(){ | |
//deleteAcitons | |
} | |
} | |
class StandartUserActions implements IUserActions | |
{ | |
public function create(){ | |
//dummy Codes | |
} | |
public function read(){ | |
//readActions | |
} | |
public function update(){ | |
//dummy Codes | |
} | |
public function delete(){ | |
//dummy Codes | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment