EntityExistsCheck
class EntityExistsCheck implements CheckInterface (View source)
Parameterized check that validates an entity from reflection exists in stubs.
Accepts either an EntityTypeConfig or raw LookupKind + label. When used via CheckDescriptor, EntityTypeConfig is passed as a named argument.
Methods
__construct(LookupKind|null $lookupKind = null, string|null $label = null, EntityTypeConfig|null $entityTypeConfig = null)
No description
bool
supports(string $phpVersion)
No description
Details
__construct(LookupKind|null $lookupKind = null, string|null $label = null, EntityTypeConfig|null $entityTypeConfig = null)
No description
bool
supports(string $phpVersion)
No description
CheckResultSet
run(StubDataQueryInterface $stubs, string $entityId, string $phpVersion)
No description