PHP Classes

File: Tests/TestRoutes.php

Recommend this page to a friend!
  Classes of Alexey Dodonov   mezon PHP Application   Tests/TestRoutes.php   Download  
File: Tests/TestRoutes.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: mezon PHP Application
Create applications from configuration files
Author: By
Last change:
Date: 4 years ago
Size: 334 bytes
 

Contents

Class file image Download
<?php
return [
    [
       
'route' => '/get-route/',
       
'callback' => 'actionExisting',
    ],
    [
       
'route' => '/post-route/',
       
'callback' => 'actionExisting',
       
'method' => 'POST',
    ],
    [
       
"route" => "/php-route/",
       
"callback" => "actionExisting",
       
"method" => "POST"
   
]
];