PHP Classes
elePHPant
Icontem

File: tests/resource.php

Recommend this page to a friend!
  Classes of Mahmoud Elnezamy  >  PHP Route Library  >  tests/resource.php  >  Download  
File: tests/resource.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Route Library
Route requests to registered callback functions
Author: By
Last change:
Date: 1 year ago
Size: 152 bytes
 

Contents

Class file image Download
<?php
$route
->resource('/resource', 'Tests\App\Controller\testController');
$route->controller('/controller', 'Tests\App\Controller\test2Controller');