| 
							
							<?php require('../vendor/autoload.php');
 | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							/*
 | 
						
						
						
						
							 | 
							
							 * Example:  5.3 OOP Anonymous Functions
 | 
						
						
						
						
							 | 
							
							 */
 | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							$app = new Mite(array('debug' => TRUE, 'index' => '/mite/examples/53oop.php'));
 | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							$app->route('/', function() use($app) {
 | 
						
						
						
						
							 | 
							
								$app->view('views/index.tpl.php');
 | 
						
						
						
						
							 | 
							
							});
 | 
						
						
						
						
							 | 
							
							
 | 
						
						
						
						
							 | 
							
							$app->run(); |