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