PropertyReadInfo
in package
FinalYes
The property read info tells how a property can be read.
Tags
Table of Contents
Constants
- TYPE_METHOD = 'method'
- TYPE_PROPERTY = 'property'
- VISIBILITY_PRIVATE = 'private'
- VISIBILITY_PROTECTED = 'protected'
- VISIBILITY_PUBLIC = 'public'
Properties
- $byRef : bool
- $name : string
- $static : bool
- $type : string
- $visibility : string
Methods
- __construct() : mixed
- canBeReference() : bool
- Whether this accessor can be accessed by reference.
- getName() : string
- Get name of the access, which can be a method name or a property name, depending on the type.
- getType() : string
- Get type of access.
- getVisibility() : string
- isStatic() : bool
Constants
TYPE_METHOD
public
mixed
TYPE_METHOD
= 'method'
TYPE_PROPERTY
public
mixed
TYPE_PROPERTY
= 'property'
VISIBILITY_PRIVATE
public
mixed
VISIBILITY_PRIVATE
= 'private'
VISIBILITY_PROTECTED
public
mixed
VISIBILITY_PROTECTED
= 'protected'
VISIBILITY_PUBLIC
public
mixed
VISIBILITY_PUBLIC
= 'public'
Properties
$byRef read-only
private
bool
$byRef
$name read-only
private
string
$name
$static read-only
private
bool
$static
$type read-only
private
string
$type
$visibility read-only
private
string
$visibility
Methods
__construct()
public
__construct(string $type, string $name, string $visibility, bool $static, bool $byRef) : mixed
Parameters
- $type : string
- $name : string
- $visibility : string
- $static : bool
- $byRef : bool
canBeReference()
Whether this accessor can be accessed by reference.
public
canBeReference() : bool
Return values
boolgetName()
Get name of the access, which can be a method name or a property name, depending on the type.
public
getName() : string
Return values
stringgetType()
Get type of access.
public
getType() : string
Return values
stringgetVisibility()
public
getVisibility() : string
Return values
stringisStatic()
public
isStatic() : bool