ClassSymbol
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 | Fully-qualified class alias name. |
|
protected string | $aliasNamespace | Namespace of the alias |
|
protected string | $aliasBasename | Base name of the alias (that is, without namespace) |
|
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
ReflectionClass|null
getFacadeReflectionClass()
No description
string
render(string $eol = "\n", string $padding = ' ', callable|null $methodFilter = null)
Render Class with methods.
string
getAliasNamespace()
Get the namespace of the alias.
Details
__construct($alias, $fqn, $facade = null)
No description
protected
resolveMethods()
Get the methods.
bool
isFacade()
No description
ReflectionClass|null
getFacadeReflectionClass()
No description
string
render(string $eol = "\n", string $padding = ' ', callable|null $methodFilter = null)
Render Class with methods.
string
getAliasNamespace()
Get the namespace of the alias.