EnsurePropertyMorphable
class EnsurePropertyMorphable implements ValidationRule
Rejects the discriminator of a property-morphable node whose morph Fill could not resolve.
The compiler adds it only to such nodes, reusing Fill's resolution instead of calling morph() again.
Methods
Details
at line 20
void
validate(string $attribute, mixed $value, Closure $fail)
Fail the discriminator of an unresolved morph.