-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlinger_router.stub.php
More file actions
27 lines (17 loc) · 698 Bytes
/
linger_router.stub.php
File metadata and controls
27 lines (17 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/** @generate-legacy-arginfo */
class Linger_Framework_Router
{
private static object $_instance;
private array $_rules;
private int $_chunk_size;
private function __construct();
public function add(object $rule): object;
public function get(string $uri, string $clazz, string $method): object;
public function put(string $uri, string $clazz, string $method): object;
public function post(string $uri, string $clazz, string $method): object;
public function delete(string $uri, string $clazz, string $method): object;
public function setChunkSize(int $size): object;
public function getRules(): array;
public function dump(): void;
}