add www api project

This commit is contained in:
Olu Amey
2022-11-17 20:35:06 -05:00
parent 0b98470020
commit a51a8c4c22
607 changed files with 104133 additions and 0 deletions
@@ -0,0 +1,25 @@
<?php
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace CodeIgniter\Router;
/**
* Expected behavior of a AutoRouter.
*/
interface AutoRouterInterface
{
/**
* Returns controller, method and params from the URI.
*
* @return array [directory_name, controller_name, controller_method, params]
*/
public function getRoute(string $uri): array;
}