ExtensionCategory : int
Table of Contents
Cases
- Backend
- Distribution = 10
- Documentation = 8
- Example = 9
- Frontend = 2
- Miscellaneous = 4
- Module = 1
- Plugin = 3
- Services = 5
- Templates = 6
Methods
- fromValue() : self
- This method returns the enum for the value either based on the value or the name and returning the ExtensionCategory::Miscellaneous as default for invalid values. Note that this means that nor error or exception is thrown.
- getStringValue() : string
Cases
Backend
Module
Frontend
Plugin
Miscellaneous
Services
Templates
Documentation
Example
Distribution
Methods
fromValue()
This method returns the enum for the value either based on the value or the name and returning the ExtensionCategory::Miscellaneous as default for invalid values. Note that this means that nor error or exception is thrown.
public
static fromValue(int|string $value) : self
Parameters
- $value : int|string
Tags
Return values
selfgetStringValue()
public
getStringValue() : string