Reflection ReflectionFunctionAbstract 클래스

(PHP 5 >= 5.2.0, PHP 7, PHP 8)


소개

ReflectionFunction의 상위 클래스, 자세한 내용은 해당 설명을 참조하세요.


클래스 개요

                  
abstract class ReflectionFunctionAbstract implements Reflector {

  /* Properties */
  public string $name;

  /* Methods */
  private __clone(): void
  public getAttributes(?string $name = null, int $flags = 0): array
  public getClosureScopeClass(): ?ReflectionClass
  public getClosureThis(): ?object
  public getClosureUsedVariables(): array
  public getDocComment(): string|false
  public getEndLine(): int|false
  public getExtension(): ?ReflectionExtension
  public getExtensionName(): string|false
  public getFileName(): string|false
  public getName(): string
  public getNamespaceName(): string
  public getNumberOfParameters(): int
  public getNumberOfRequiredParameters(): int
  public getParameters(): array
  public getReturnType(): ?ReflectionType
  public getShortName(): string
  public getStartLine(): int|false
  public getStaticVariables(): array
  public getTentativeReturnType(): ?ReflectionType
  public hasReturnType(): bool
  public hasTentativeReturnType(): bool
  public inNamespace(): bool
  public isClosure(): bool
  public isDeprecated(): bool
  public isGenerator(): bool
  public isInternal(): bool
  public isUserDefined(): bool
  public isVariadic(): bool
  public returnsReference(): bool
  abstract public __toString(): void
}
                  
                

Properties

name
함수의 이름입니다. 읽기 전용, 쓰기 시도 시 ReflectionException이 발생합니다.

목차