InvalidDataDeclaration
class InvalidDataDeclaration extends LogicException
Methods
Create an exception for a non-promoted readonly input property.
Create an exception for an output-only constructor property.
Create an exception for a write-only virtual property.
Create an exception for a contextual parameter conflicting with a data property.
Create an exception for a variadic creation context.
Create an exception for a duplicate input path.
Create an exception for a duplicate output key.
Create an exception for an Eloquent collection with non-model items.
Details
at line 20
static InvalidDataDeclaration
unassignableReadonlyProperty(string $class, DataProperty $property)
Create an exception for a non-promoted readonly input property.
at line 34
static InvalidDataDeclaration
computedConstructorProperty(string $class, DataProperty $property)
Create an exception for an output-only constructor property.
at line 47
static InvalidDataDeclaration
writeOnlyProperty(string $class, DataProperty $property)
Create an exception for a write-only virtual property.
at line 61
static InvalidDataDeclaration
contextualParameterConflictsWithProperty(string $class, DataParameter $parameter, DataProperty $property)
Create an exception for a contextual parameter conflicting with a data property.
at line 80
static InvalidDataDeclaration
variadicCreationContext(string $class, string $method, string $parameter)
Create an exception for a variadic creation context.
at line 96
static InvalidDataDeclaration
duplicateInputPath(string $class, string|int $path, DataProperty $firstProperty, DataProperty $secondProperty)
Create an exception for a duplicate input path.
at line 114
static InvalidDataDeclaration
duplicateOutputKey(string $class, string|int $key, DataProperty $firstProperty, DataProperty $secondProperty)
Create an exception for a duplicate output key.
at line 133
static InvalidDataDeclaration
invalidEloquentCollectionItemType(string $class, string $collection, DataProperty $property)
Create an exception for an Eloquent collection with non-model items.