class SymbolGenerator (View source)

Properties

protected ClassSymbol[] $classes

The ClassSymbol objects.

protected array $aliasNamespaces

All the alias namespaces.

Methods

__construct()

No description

registerClass($alias, $class)

Register a class alias, and store it in the classes array.

mixed|string
render(string $eol = "\n", string $padding = ' ', callable|null $methodFilter = null)

Render the classes.

Details

__construct()

No description

registerClass($alias, $class)

Register a class alias, and store it in the classes array.

Parameters

$alias

string

$class

string

mixed|string render(string $eol = "\n", string $padding = ' ', callable|null $methodFilter = null)

Render the classes.

Parameters

string $eol
string $padding
callable|null $methodFilter

Return Value

mixed|string