The ReflectionClass class
(PHP 5, PHP 7, PHP 8)
Introduction
The ReflectionClass class reports
information about a class.
Class synopsis
public static export(
mixed $argument
,
bool $return
= false
):
string
public getAttributes(
?string $name
= null
,
int $flags
= 0):
array
}
Predefined Constants
ReflectionClass Modifiers
ReflectionClass::IS_IMPLICIT_ABSTRACT
-
Indicates class that is
abstract because it has some abstract methods.
ReflectionClass::IS_EXPLICIT_ABSTRACT
-
Indicates class that is
abstract because of its definition.
ReflectionClass::IS_FINAL
-
Indicates final
class.
Table of Contents
There are no user contributed notes for this page.