PHP Conference Japan 2024

ReflectionFunctionAbstract 類別

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

簡介

ReflectionFunction 的父類別,詳情請閱讀其說明。

類別概要

abstract class ReflectionFunctionAbstract implements Reflector {
/* 屬性 */
public 字串 $name;
/* 方法 */
私有 __clone(): void
公開 getAttributes(?字串 $name = null, 整數 $flags = 0): 陣列
公開 getName(): 字串
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
}

屬性

name

函數名稱。唯讀,嘗試寫入時會拋出 ReflectionException 例外。

目錄

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top