LeagueDefinition
in package
implements
Definition
Class LeagueDefinition
Interfaces, Classes and Traits
- Definition
- Interface Definition
Table of Contents
- $internal : DefinitionInterface
- __construct() : mixed
- LeagueDefinition constructor.
- addArgument() : $this
- Adds a new constructor argument to a type definition.
- addArguments() : $this
- Adds constructor arguments to a type definition.
- setAlias() : $this
- Set the alias of the definition.
Properties
$internal
private
DefinitionInterface
$internal
Methods
__construct()
LeagueDefinition constructor.
public
__construct(DefinitionInterface $internal) : mixed
Parameters
- $internal : DefinitionInterface
Return values
mixed —addArgument()
Adds a new constructor argument to a type definition.
public
addArgument(mixed $arg) : $this
Parameters
- $arg : mixed
Tags
Return values
$this —addArguments()
Adds constructor arguments to a type definition.
public
addArguments(array<string|int, mixed> $args) : $this
Parameters
- $args : array<string|int, mixed>
Tags
Return values
$this —setAlias()
Set the alias of the definition.
public
setAlias(string $alias) : $this
Parameters
- $alias : string