-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathL2DomainsController.php
More file actions
48 lines (41 loc) · 1.12 KB
/
L2DomainsController.php
File metadata and controls
48 lines (41 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php namespace MyENA\PHPIPAMAPI\Chain;
use MyENA\PHPIPAMAPI\AbstractPart;
use MyENA\PHPIPAMAPI\Chain\L2Domains;
use MyENA\PHPIPAMAPI\Part\UriPart;
/**
* Class L2DomainsController
* @package MyENA\PHPIPAMAPI\Chain
*/
class L2DomainsController extends AbstractPart implements UriPart {
const PATH = 'l2domains/';
/**
* @return \MyENA\PHPIPAMAPI\Chain\L2Domains\GET
*/
public function GET(): L2Domains\GET {
return $this->newPart(L2Domains\GET::class);
}
/**
* @return \MyENA\PHPIPAMAPI\Chain\L2Domains\POST
*/
public function POST(): L2Domains\POST {
return $this->newPart(L2Domains\POST::class);
}
/**
* @return \MyENA\PHPIPAMAPI\Chain\L2Domains\PATCH
*/
public function PATCH(): L2Domains\PATCH {
return $this->newPart(L2Domains\PATCH::class);
}
/**
* @return \MyENA\PHPIPAMAPI\Chain\L2Domains\DELETE
*/
public function DELETE(): L2Domains\DELETE {
return $this->newPart(L2Domains\DELETE::class);
}
/**
* @return string
*/
public function getUriPart(): string {
return self::PATH;
}
}