Created
March 29, 2018 09:54
-
-
Save ahmed-abid/dcdfcbf0f1ab9430710e7c26fd7ff34c to your computer and use it in GitHub Desktop.
simple aspect mock example
This file contains 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 | |
class UserModel | |
{ | |
public static function tableName() | |
{ | |
return 'users'; | |
} | |
public static function someMethod($arg1, $arg2) | |
{ | |
return $arg1 . ' '. $arg2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment