PathTrait
Table of Contents
Properties
- $fullPath : string
- The full path reference.
- $ownerPath : string|null
- The path of an owner reference.
- $path : string
- The path reference.
Methods
- getFullOwnerPath() : string
- Returns the full owner path url with a specific owner identifier.
- initializePath() : static
- Sets the path of the controller.
Properties
$fullPath
The full path reference.
public
string
$fullPath
$ownerPath
The path of an owner reference.
public
string|null
$ownerPath
= \oihana\enums\Char::EMPTY
$path
The path reference.
public
string
$path
= \oihana\enums\Char::EMPTY
Methods
getFullOwnerPath()
Returns the full owner path url with a specific owner identifier.
public
getFullOwnerPath(string $id) : string
Parameters
- $id : string
Return values
stringinitializePath()
Sets the path of the controller.
public
initializePath([array<string|int, mixed> $init = [] ]) : static
Parameters
- $init : array<string|int, mixed> = []
-
return static