MethodType
extends Enum
in package
This is the user type enumerate.
Table of Contents
| DELETE | = 'DELETE' | |
|---|---|---|
| GET | = 'GET' | |
| POST | = 'POST' | |
| PUT | = 'PUT' | |
| getValues() | : array<string|int, mixed> | |
| isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
DELETE
public
mixed
DELETE
= 'DELETE'
GET
public
mixed
GET
= 'GET'
POST
public
mixed
POST
= 'POST'
PUT
public
mixed
PUT
= 'PUT'
Methods
getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —isValid()
Check if the given value is inside the called enumerate.
public
static isValid(string $value) : bool
Parameters
- $value : string
-
value to check