ci4
1<?php
2
3declare(strict_types=1);
4
5/**
6* This file is part of CodeIgniter 4 framework.
7*
8* (c) CodeIgniter Foundation <admin@codeigniter.com>
9*
10* For the full copyright and license information, please view
11* the LICENSE file that was distributed with this source code.
12*/
13
14namespace CodeIgniter\Router;
15
16/**
17* Expected behavior of a AutoRouter.
18*/
19interface AutoRouterInterface
20{
21/**
22* Returns controller, method and params from the URI.
23*
24* @return array [directory_name, controller_name, controller_method, params]
25*/
26public function getRoute(string $uri, string $httpVerb): array;
27}
28