PHP Classes

File: console.php

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   console.php   Download  
File: console.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of console.php
Date: 9 months ago
Size: 210 bytes
 

Contents

Class file image Download
<?php

// Get micro
require __DIR__ . '/../app/Application.php';

// Get kernel
$app = new \App\Application;

// Run framework
$app->run(new \Micro\Web\Request)->send();

// Kill application
$app->terminate();