PropertyInitializableExtractorInterface
in
Guesses if the property can be initialized through the constructor.
Tags
Table of Contents
Methods
- isInitializable() : bool|null
- Is the property initializable? Returns true if a constructor's parameter matches the given property name.
Methods
isInitializable()
Is the property initializable? Returns true if a constructor's parameter matches the given property name.
public
isInitializable(string $class, string $property[, array<string|int, mixed> $context = [] ]) : bool|null
Parameters
- $class : string
- $property : string
- $context : array<string|int, mixed> = []