ArchiveType
in package
Class representing ArchiveType.
XSD Type: archiveType
Table of Contents
- $variable : array<string|int, mixed>
- $version : string|null
- addToVariable() : self
- Adds as variable.
- getVariable() : array<string|int, VariableType>
- Gets as variable.
- getVersion() : string
- Gets as version.
- issetVariable() : bool
- isset variable.
- setVariable() : self
- Sets a new variable.
- setVersion() : self
- Sets a new version.
- unsetVariable() : void
- unset variable.
Properties
$variable
private
array<string|int, mixed>
$variable
= []
$version
private
string|null
$version
= null
Methods
addToVariable()
Adds as variable.
public
addToVariable(VariableType $variable) : self
Parameters
- $variable : VariableType
Return values
self —getVariable()
Gets as variable.
public
getVariable() : array<string|int, VariableType>
Return values
array<string|int, VariableType> —getVersion()
Gets as version.
public
getVersion() : string
Return values
string —issetVariable()
isset variable.
public
issetVariable(int|string $index) : bool
Parameters
- $index : int|string
Return values
bool —setVariable()
Sets a new variable.
public
setVariable([array<string|int, VariableType> $variable = null ]) : self
Parameters
- $variable : array<string|int, VariableType> = null
Return values
self —setVersion()
Sets a new version.
public
setVersion(string $version) : self
Parameters
- $version : string
Return values
self —unsetVariable()
unset variable.
public
unsetVariable(int|string $index) : void
Parameters
- $index : int|string