Skip to content

Instantly share code, notes, and snippets.

@alanwillms
Last active November 1, 2016 12:06
Show Gist options
  • Save alanwillms/fa1fcc59d59d45a5997923e0dc1cd70d to your computer and use it in GitHub Desktop.
Save alanwillms/fa1fcc59d59d45a5997923e0dc1cd70d to your computer and use it in GitHub Desktop.
ISP-3
<?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