Skip to content

Instantly share code, notes, and snippets.

@alanwillms
Created November 1, 2016 12:48
Show Gist options
  • Save alanwillms/a5343e9eb13871e8fa58b8af91893ca4 to your computer and use it in GitHub Desktop.
Save alanwillms/a5343e9eb13871e8fa58b8af91893ca4 to your computer and use it in GitHub Desktop.
ISP-6
<?php
class Usuario extends ActiveRecord implements Identificavel
{
...
public function getChaveAutenticacao()
{
throw new NaoImplementadoException(); // :-(
}
public function validarChaveAutenticacao($chaveAutenticacao)
{
throw new NaoImplementadoException(); // :-(
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment