PHP Classes

File: public/index.php

Recommend this page to a friend!
  Classes of Yerfry Ramirez   Basic Controller Framework   public/index.php   Download  
File: public/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Basic Controller Framework
Framework to route requests configured controllers
Author: By
Last change:
Date: 6 years ago
Size: 158 bytes
 

Contents

Class file image Download
<?php
require __DIR__ . '/../bootstrap/app.php';

$App->resolve(Router::CLASS, ($request = $App->resolve(Request::CLASS))->setGlobal('request', $request));
?>