Skip to content

Instantly share code, notes, and snippets.

@alanwillms
Created November 1, 2016 12:39
Show Gist options
  • Save alanwillms/faf6c1ac49b3232e0a5f839415a9dd79 to your computer and use it in GitHub Desktop.
Save alanwillms/faf6c1ac49b3232e0a5f839415a9dd79 to your computer and use it in GitHub Desktop.
ISP-4
<?php
interface Identificavel
{
public static function encontrarIdentidade($id);
public static function encontrarIdentidadePeloToken($token, $tipo = null);
public function getId();
public function getChaveAutenticacao();
public function validarChaveAutenticacao($chaveAutenticacao);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment