Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Patch.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\attributes\items\router
;
4
5
use Attribute;
6
16
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
17
class
Patch
extends
Route
{
18
22
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) {
23
parent::__construct(
$path
, [
'patch'
],
$name
,
$cache
,
$duration
,
$inherited
,
$automated
,
$requirements
,
$priority
);
24
}
25
}
26
Ubiquity\attributes\items\router\Patch
Defines a route with the patch method Ubiquity\attributes\items\router$Patch This class is part of Ub...
Definition
Patch.php:17
Ubiquity\attributes\items\router\Patch\__construct
__construct(string $path='', string $name=null, bool $cache=false, int $duration=0, bool $inherited=false, bool $automated=false, array $requirements=[], int $priority=0)
Patch constructor.
Definition
Patch.php:22
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
Patch.php
Generated on Sun Dec 10 2023 15:04:05 for
Ubiquity
by
doxygen
1.9.8