Documentation

PropertyReadInfo
in package

FinalYes

The property read info tells how a property can be read.

Tags
author

Joel Wurtz jwurtz@jolicode.com

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

Properties

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
bool

getName()

Get name of the access, which can be a method name or a property name, depending on the type.

public getName() : string
Return values
string

getType()

Get type of access.

public getType() : string
Return values
string

        
On this page

Search results