class ClassSymbol (View source)

Properties

protected string $fqn

Fully qualified class name.

protected ReflectionClass|null $facade

If the class is a facade, here we have the facade ReflectionClass, otherwise it's null.

protected string $alias

Class alias.

protected MethodSymbol[] $methods

Array of MethodSymbols.

protected string $comment

The class's docblock.

protected ReflectionClass $reflectionClass

The ReflectionClass instance.

Methods

__construct($alias, $fqn, $facade = null)

No description

resolveMethods()

Get the methods.

bool
isFacade()

No description

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

Render Class with methods.

Details

__construct($alias, $fqn, $facade = null)

No description

Parameters

$alias

string Class Alias

$fqn

string Fully qualified Class name

$facade

bool Is this a facade

protected resolveMethods()

Get the methods.

bool isFacade()

No description

Return Value

bool

ReflectionClass|null getFacadeReflectionClass()

No description

Return Value

ReflectionClass|null

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

Render Class with methods.

Parameters

string $eol
string $padding
callable|null $methodFilter

Return Value

string