Target Resource
The central App class contains the following methods to obtain information on the resource being requested.  Unless specified, the below methods are aliases that retrieve information from the PSR-7 ServerRequest object.
Getter Methods
- getHost ():string
- getPort ():int
- getMethod ():string - The request method (ie. POST, GEt, et al).
- getPath ():string
- getPathOriginal():string
- getContentType ():string
- getRequest ():ServerRequestInterface - Returns the current PSR-15 compliant ServerRequestInterfaceobject.
- getUri ():UriInterface - Returns the current PSR-7 compliant UriInterfaceobject.
Setter Methods
- setPath (string $path, bool $is_locked = false):bool
- setContentType (string $content_type):void
- setRequest (?ServerRequestInterface $request = null):void