PHP Classes

File: App/Configs/Routes/Default.php

Recommend this page to a friend!
  Classes of Maicon gonšalez  >  Potato PHP MVC Framework  >  App/Configs/Routes/Default.php  >  Download  
File: App/Configs/Routes/Default.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Potato PHP MVC Framework
Framework to develop PHP MVC applications
Author: By
Last change:
Date: 9 months ago
Size: 360 bytes
 

Contents

Class file image Download
<?php
use \System\Core\Routes;
use \
System\ResponseType;
use \
Controller\Index;

Routes::get('Home', [
   
'Controller' => Index::class,
   
"Method" => "Index",
   
'Headers' => [
       
"Content-Type:".ResponseType::CONTENT_HTML
   
],
   
'RequireHeader' => [],
   
'onCallBefore' => [],
   
'onCallAfter' => [],
   
'onCallFinish' => []
]);

For more information send a message to info at phpclasses dot org.