Created
August 2, 2016 13:48
-
-
Save alefcastelo/f67996fd770329e3c7d898cd30bbd0bd 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 | |
interface ZCE { | |
# bloco de código | |
} | |
class Programador implements ZCE { | |
# bloco de código | |
} | |
$programador = new Programador(); | |
if( $programador instanceof ZCE ){ | |
# bloco de código | |
} else { | |
# bloco de código | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment