Router
extends Writable
in package
Table of Contents
Properties
- $path : string
- Relative path to class from `BaseMapper->getBasePath()`
Methods
- __construct() : mixed
- fromClassList() : Router
- getPath() : string
Properties
$path
Relative path to class from `BaseMapper->getBasePath()`
protected
string
$path
Methods
__construct()
public
__construct(string $path, string $namespace[, null|string|Type $baseType = null ][, string|null $description = null ]) : mixed
Parameters
- $path : string
-
Relative path to class from
BaseMapper->getBasePath() - $namespace : string
- $baseType : null|string|Type = null
- $description : string|null = null
fromClassList()
public
static fromClassList(string $namespace, array<string|int, Writable> $classes, EndpointMapper $mapper) : Router
Parameters
- $namespace : string
- $classes : array<string|int, Writable>
- $mapper : EndpointMapper
Return values
RoutergetPath()
public
getPath() : string