\Symfony\Component\PropertyInfoPropertyInitializableExtractorInterface

Guesses if the property can be initialized through the constructor.

Summary

Methods
Constants
isInitializable()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

isInitializable()

isInitializable(string  $class, string  $property, array  $context = []) : ?bool

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

Parameters

string $class
string $property
array $context

Returns

?bool —