PHP 8.1.0 RC 2 available for testing

The ReflectionAttribute class

(PHP 8)

Introduction

The ReflectionAttribute class provides information about an Attributes.

Class synopsis

final class ReflectionAttribute {
/* Methods */
private __construct()
public getArguments(): array
public getName(): string
public getTarget(): int
public isRepeated(): bool
public newInstance(): object
}

Table of Contents

add a note add a note

User Contributed Notes

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