Created
December 18, 2017 14:04
-
-
Save mvnp/869bc6d546fd6a16c90128b325328013 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
class Usuario { | |
public function login($email, $senha){ | |
# faz login | |
} | |
} | |
// Instancia o objeto e usa os métodos | |
$entrar = new Usuario; | |
$entrar->login("email", "senha"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment