ResourceLocation implements ResourceLocationInterface
ResourceLocation Class.
The representation of a location
Tags
Table of Contents
$name | string | |
---|---|---|
$path | string | |
$separator | string | |
__construct() | Constructor. | mixed |
getName() | string | |
setName() | static | |
getPath() | string | |
setPath() | static |
Properties
$name
protected
string
$name
$path
protected
string
$path
$separator
protected
string
$separator
= '/'
Methods
__construct()
Constructor.
public
__construct(
$name :
string
[, $path :
string|null
= null ]
)
: mixed
Parameters
- $name : string
- $path : string|null = null
Return values
mixedgetName()
public
getName(
)
: string
Return values
stringsetName()
public
setName(
$name :
string
)
: static
Parameters
- $name : string
Return values
staticgetPath()
public
getPath(
)
: string
Return values
stringsetPath()
public
setPath(
$path :
string
)
: static
Parameters
- $path : string