Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Put.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 Put 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, ['put'], $name, $cache, $duration, $inherited, $automated, $requirements, $priority);
24 }
25}
26
Defines a route with the put method Ubiquity\attributes\items\router$Put This class is part of Ubiqui...
Definition Put.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)
Put constructor.
Definition Put.php:22
Router annotations.
Definition Delete.php:3