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 | |
use Facebook\FacebookSession; | |
use Facebook\FacebookRequest; | |
use Facebook\GraphUser; | |
use Facebook\FacebookRequestException; | |
FacebookSession::setDefaultApplication('YOUR_APP_ID','YOUR_APP_SECRET'); | |
// Use one of the helper classes to get a FacebookSession object. | |
// FacebookRedirectLoginHelper |
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 Produto | |
{ | |
public function especificacoes(); | |
} | |
class Livro implements Produto | |
{ | |
public function especificacoes() { | |
} |
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 Atendimento | |
{ | |
const SUPORTE = 1; | |
const FINANCEIRO = 2; | |
const ADMINISTRATIVO = 3; | |
public function encerrar(); | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |