Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Get.php
Go to the documentation of this file.
1
<?php
2
7
namespace
Ubiquity\attributes\items\router
;
8
9
use Attribute;
10
20
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
21
class
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
Ubiquity\attributes\items\router\Get
Defines a route with the get method Ubiquity\attributes\items\router$Get This class is part of Ubiqui...
Definition
Get.php:21
Ubiquity\attributes\items\router\Get\__construct
__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
Ubiquity\attributes\items\router\Route
Defines a route.
Definition
Route.php:24
Ubiquity\attributes\items\router\Route\$cache
bool $cache
Definition
Route.php:29
Ubiquity\attributes\items\router\Route\$priority
int $priority
Definition
Route.php:34
Ubiquity\attributes\items\router\Route\$duration
int $duration
Definition
Route.php:30
Ubiquity\attributes\items\router\Route\$name
string $name
Definition
Route.php:28
Ubiquity\attributes\items\router\Route\$requirements
array $requirements
Definition
Route.php:33
Ubiquity\attributes\items\router\Route\$automated
bool $automated
Definition
Route.php:32
Ubiquity\attributes\items\router\Route\$path
string $path
Definition
Route.php:26
Ubiquity\attributes\items\router\Route\$inherited
bool $inherited
Definition
Route.php:31
Ubiquity\attributes\items\router
Router annotations.
Definition
Delete.php:3
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
router
Get.php
Generated on Sun Dec 10 2023 15:04:05 for
Ubiquity
by
doxygen
1.9.8