Documentation

Declaration
in package
implements Builder

AbstractYes

Table of Contents

Interfaces

Builder

Properties

$attributes  : mixed

Methods

addStmt()  : mixed
addStmts()  : $this
Adds multiple statements.
setDocComment()  : $this
Sets doc comment for the declaration.

Properties

Methods

addStmt()

public abstract addStmt(mixed $stmt) : mixed
Parameters
$stmt : mixed

addStmts()

Adds multiple statements.

public addStmts(array<string|int, mixed> $stmts) : $this
Parameters
$stmts : array<string|int, mixed>

The statements to add

Return values
$this

The builder instance (for fluid interface)

setDocComment()

Sets doc comment for the declaration.

public setDocComment(Doc|string $docComment) : $this
Parameters
$docComment : Doc|string

Doc comment to set

Return values
$this

The builder instance (for fluid interface)


        
On this page

Search results