interface PropertyInitializableExtractorInterface

Guesses if the property can be initialized through the constructor.

Methods

bool|null
isInitializable(string $class, string $property, array $context = [])

Is the property initializable? Returns true if a constructor's parameter matches the given property name.

Details

at line 24
bool|null isInitializable(string $class, string $property, array $context = [])

Is the property initializable? Returns true if a constructor's parameter matches the given property name.

Parameters

string $class
string $property
array $context

Return Value

bool|null