Documentation

PropertyAccessExtractorInterface

Guesses if the property can be accessed or mutated.

Tags
author

Kévin Dunglas dunglas@gmail.com

Table of Contents

Methods

isReadable()  : bool|null
Is the property readable?
isWritable()  : bool|null
Is the property writable?

Methods

isReadable()

Is the property readable?

public isReadable(string $class, string $property[, array<string|int, mixed> $context = [] ]) : bool|null
Parameters
$class : string
$property : string
$context : array<string|int, mixed> = []
Return values
bool|null

isWritable()

Is the property writable?

public isWritable(string $class, string $property[, array<string|int, mixed> $context = [] ]) : bool|null
Parameters
$class : string
$property : string
$context : array<string|int, mixed> = []
Return values
bool|null

        
On this page

Search results