Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Get.php
Go to the documentation of this file.
1<?php
2
8
9use Attribute;
10
20#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
21class Get extends Route {
22
26 public function __construct(string $path = '', string $name = null, bool $cache = false, int $duration = 0, bool $inherited = false, bool $automated = false, array $requirements = [], int $priority = 0) {
27 parent::__construct($path, ['get'], $name, $cache, $duration, $inherited, $automated, $requirements, $priority);
28 }
29}
30
Defines a route with the get method Ubiquity\attributes\items\router$Get This class is part of Ubiqui...
Definition Get.php:21
__construct(string $path='', string $name=null, bool $cache=false, int $duration=0, bool $inherited=false, bool $automated=false, array $requirements=[], int $priority=0)
Get constructor.
Definition Get.php:26
Router annotations.
Definition Delete.php:3