Last active
November 1, 2016 12:06
-
-
Save alanwillms/fa1fcc59d59d45a5997923e0dc1cd70d to your computer and use it in GitHub Desktop.
ISP-3
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 Estocavel | |
{ | |
public function retirar($quantidade); | |
public function depositar($quantidade); | |
} | |
interface Valoravel | |
{ | |
public function getValor(); | |
} | |
class EstoqueProduto implements Estocavel, Valoravel | |
{ | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment