StaticDetector implements ResourceDetector
Read onlyYes
FinalYes
Tags
Interfaces
- ResourceDetector
- Return an empty Resource when nothing is detected.
Methods
- __construct() : mixed
- detect() : Resource
- Detect resource attributes from the environment.
Methods
__construct()
public
__construct([TAttributeValueMap $attributes = [] ]) : mixed
Parameters
- $attributes : TAttributeValueMap = []
detect()
Detect resource attributes from the environment.
public
detect() : Resource