Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Patch.php
Go to the documentation of this file.
1<?php
2
4
5use Attribute;
6
16#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
17class 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
Defines a route with the patch method Ubiquity\attributes\items\router$Patch This class is part of Ub...
Definition Patch.php:17
__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
Router annotations.
Definition Delete.php:3