Start your All-Access Pass to unlock this challenge
Why does Symfony throw an exception after we switch the type-hint from ButtonRemote to RemoteInterface in LoggerRemote's constructor?
ButtonRemote
RemoteInterface
LoggerRemote
Symfony cannot autowire the interface because there are multiple implementations of RemoteInterface.
The LoggerRemote class does not implement RemoteInterface.
The press() method signature in LoggerRemote is incorrect.
press()
Symfony cannot find the ButtonRemote service.