ArtisanCommandCollisionException class
Thrown by ArtisanRegistry.register when two providers register a
command with the same name without explicit override: true.
Per oracle CRITICAL finding (fluttersdk-ecosystem-split plan), artisan
adopts FAIL-FAST collision semantics (modeled on
developer.registerExtension's ArgumentError) rather than Laravel's
silent last-wins via Symfony Application::add(). Silent shadowing of
a vendor command by an unrelated provider command is a debugging black
hole; making it loud forces explicit opt-in.
- Implemented types
Constructors
- ArtisanCommandCollisionException({required String commandName, required String existingProvider, required String newProvider})
Properties
- commandName → String
-
The duplicate command name.
final
- existingProvider → String
-
Name of the provider that registered the command first.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
no setter
- newProvider → String
-
Name of the provider attempting the duplicate registration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited