16 lines
312 B
PHP
16 lines
312 B
PHP
<?php
|
|
// HttpGet.php
|
|
// Created: 2024-03-28
|
|
// Updated: 2024-03-28
|
|
|
|
namespace Index\Http\Routing;
|
|
|
|
/**
|
|
* Provides an attribute for marking methods in a class as a GET route.
|
|
*/
|
|
class HttpGet extends HttpRoute {
|
|
public function __construct(string $path) {
|
|
parent::__construct('GET', $path);
|
|
}
|
|
}
|