FederationOptions
Table of Contents
Properties
-
$remote
: non-empty-string|null
-
$weight
: float|null
Methods
-
setRemote()
: $this
-
setWeight()
: $this
-
toArray()
: array{weight?: float, remote?: non-empty-string}
$remote
private
non-empty-string|null
$remote
= null
$weight
private
float|null
$weight
= null
setRemote()
public
setRemote(non-empty-string $remote) : $this
Parameters
-
$remote
: non-empty-string
-
setWeight()
public
setWeight(float $weight) : $this
Parameters
-
$weight
: float
-
toArray()
public
toArray() : array{weight?: float, remote?: non-empty-string}
Return values
array{weight?: float, remote?: non-empty-string}