phpDocumentor

Definition

Interface Definition

Table of Contents

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.

Methods

addArgument()

Adds a new constructor argument to a type definition.

public addArgument(mixed $arg) : $this
Parameters
$arg : mixed
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>
Return values
$this

setAlias()

Set the alias of the definition.

public setAlias(string $alias) : $this
Parameters
$alias : string
Return values
$this

Search results