Last active
October 22, 2018 03:41
-
-
Save kruxor/a3c757106a5bf1fe1ca9eda9f7e38807 to your computer and use it in GitHub Desktop.
return the class name php class 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
class myclass { | |
function myfunction() { | |
return get_class($this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment