Documentation

PropertyWriteInfo
in package

FinalYes

The write mutator defines how a property can be written.

Tags
author

Joel Wurtz jwurtz@jolicode.com

Table of Contents

Constants

TYPE_ADDER_AND_REMOVER  = 'adder_and_remover'
TYPE_CONSTRUCTOR  = 'constructor'
TYPE_METHOD  = 'method'
TYPE_NONE  = 'none'
TYPE_PROPERTY  = 'property'
VISIBILITY_PRIVATE  = 'private'
VISIBILITY_PROTECTED  = 'protected'
VISIBILITY_PUBLIC  = 'public'

Properties

$adderInfo  : self|null
$errors  : array<string|int, mixed>
$name  : string|null
$removerInfo  : self|null
$static  : bool|null
$type  : string
$visibility  : string|null

Methods

__construct()  : mixed
getAdderInfo()  : self
getErrors()  : array<string|int, mixed>
getName()  : string
getRemoverInfo()  : self
getType()  : string
getVisibility()  : string
hasErrors()  : bool
isStatic()  : bool
setAdderInfo()  : void
setErrors()  : void
setRemoverInfo()  : void

Constants

TYPE_ADDER_AND_REMOVER

public mixed TYPE_ADDER_AND_REMOVER = 'adder_and_remover'

Properties

Methods

__construct()

public __construct([string $type = self::TYPE_NONE ][, string|null $name = null ][, string|null $visibility = null ][, bool|null $static = null ]) : mixed
Parameters
$type : string = self::TYPE_NONE
$name : string|null = null
$visibility : string|null = null
$static : bool|null = null

getErrors()

public getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

setAdderInfo()

public setAdderInfo(self $adderInfo) : void
Parameters
$adderInfo : self

setErrors()

public setErrors(array<string|int, mixed> $errors) : void
Parameters
$errors : array<string|int, mixed>

setRemoverInfo()

public setRemoverInfo(self $removerInfo) : void
Parameters
$removerInfo : self

        
On this page

Search results