-
-
Save nahid/556622f83029ee48c1f13cb35ff80e9a to your computer and use it in GitHub Desktop.
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 Man | |
{ | |
function hand($substance){ | |
return 'I grab the '.$substance; | |
} | |
function leg($path) | |
{ | |
return 'I go to '.$path; | |
} | |
function mouth($food) | |
{ | |
return 'I eat '.$food; | |
} | |
function eye($object) | |
{ | |
return 'I watch '.$object; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment