Skip to content

Instantly share code, notes, and snippets.

@marcosfreitas
Last active December 24, 2015 06:39
Show Gist options
  • Save marcosfreitas/6758837 to your computer and use it in GitHub Desktop.
Save marcosfreitas/6758837 to your computer and use it in GitHub Desktop.
namespace controlador;
require('../Modulo.php');
namespace controlador\aluno;
/*
* http://www.meusite.com.br/aluno/matricula/nova/ namespace: controlador\aluno, classe: Matricula, método: nova
*/
class Matricula extends Modulo {
public function __construct() {
parent::__construct();
}
public function nova() {
/**
* realizar nova matricula
*/
#Facil::despachar("novaMatricula");
}
public function rematricula() {
/**
* realizar Rematricula
*/
# Facil::despachar("rematricula");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment