The ReflectionFunctionAbstract class

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

Introduction

A parent class to ReflectionFunction, read its description for details.

Class synopsis

abstract class ReflectionFunctionAbstract implements Reflector {
/* Properties */
public string $name;
/* Methods */
private __clone(): void
public getAttributes(?string $name = null, int $flags = 0): array
public getEndLine(): int|false
public getName(): string
public inNamespace(): bool
public isClosure(): bool
public isDeprecated(): bool
public isGenerator(): bool
public isInternal(): bool
public isStatic(): bool
public isVariadic(): bool
abstract public __toString(): void
}

Properties

name

Name of the function. Read-only, throws ReflectionException in attempt to write.

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant