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

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