v.0.1
This commit is contained in:
33
vendor/craft-group/phroute/src/Phroute/Route.php
vendored
Normal file
33
vendor/craft-group/phroute/src/Phroute/Route.php
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
<?php namespace Phroute\Phroute;
|
||||
|
||||
class Route {
|
||||
|
||||
/**
|
||||
* Constants for before and after filters
|
||||
*/
|
||||
const BEFORE = 'before';
|
||||
|
||||
const AFTER = 'after';
|
||||
|
||||
const PREFIX = 'prefix';
|
||||
|
||||
/**
|
||||
* Constants for common HTTP methods
|
||||
*/
|
||||
const ANY = 'ANY';
|
||||
|
||||
const GET = 'GET';
|
||||
|
||||
const HEAD = 'HEAD';
|
||||
|
||||
const POST = 'POST';
|
||||
|
||||
const PUT = 'PUT';
|
||||
|
||||
const PATCH = 'PATCH';
|
||||
|
||||
const DELETE = 'DELETE';
|
||||
|
||||
const OPTIONS = 'OPTIONS';
|
||||
}
|
||||
|
Reference in New Issue
Block a user