add data from work folder
This commit is contained in:
parent
3ff6318df0
commit
790ae18648
218 changed files with 16123 additions and 1233 deletions
17
app/src/Http/AddRoute.php
Normal file
17
app/src/Http/AddRoute.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Lubian\NoFramework\Http;
|
||||
|
||||
interface AddRoute
|
||||
{
|
||||
/**
|
||||
* @param array<class-string, string>|class-string|callable $handler
|
||||
*/
|
||||
public function addRoute(
|
||||
string $method,
|
||||
string $path,
|
||||
array|string|callable $handler,
|
||||
): self;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue