Methods |
public
static
|
createFromInstance(object $instance, non-empty-string $methodName): self
Create a reflection of a method by it's name using an instance
Create a reflection of a method by it's name using an instance
Throws
|
#
|
public
|
getShortName(): non-empty-string
|
#
|
public
|
getAliasName(): non-empty-string|null
|
#
|
public
|
getPrototype(): self
Find the prototype for this method, if it exists. If it does not exist
it will throw a MethodPrototypeNotFound…
Find the prototype for this method, if it exists. If it does not exist
it will throw a MethodPrototypeNotFound exception.
Throws
|
#
|
public
|
getModifiers(): int-mask-of<ReflectionMethodAdapter::IS_*>
Get the core-reflection-compatible modifier values.
Get the core-reflection-compatible modifier values.
|
#
|
public
|
__toString(): non-empty-string
|
#
|
public
|
inNamespace(): bool
|
#
|
public
|
getNamespaceName(): ?string
|
#
|
public
|
isClosure(): bool
|
#
|
public
|
isAbstract(): bool
Is the method abstract.
|
#
|
public
|
isFinal(): bool
Is the method final.
|
#
|
public
|
isPrivate(): bool
Is the method private visibility.
Is the method private visibility.
|
#
|
public
|
isProtected(): bool
Is the method protected visibility.
Is the method protected visibility.
|
#
|
public
|
isPublic(): bool
Is the method public visibility.
Is the method public visibility.
|
#
|
public
|
isStatic(): bool
Is the method static.
|
#
|
public
|
isConstructor(): bool
Is the method a constructor.
Is the method a constructor.
|
#
|
public
|
isDestructor(): bool
Is the method a destructor.
Is the method a destructor.
|
#
|
public
|
getDeclaringClass(): ReflectionClass
Get the class that declares this method.
Get the class that declares this method.
|
#
|
public
|
getImplementingClass(): ReflectionClass
Get the class that implemented the method based on trait use.
Get the class that implemented the method based on trait use.
|
#
|
public
|
getClosure($object = null): Closure
|
#
|
public
|
invoke($object = null, mixed ...$args): mixed
|
#
|
public
|
invokeArgs($object = null, array<mixed> $args = []): mixed
|
#
|