Laravel now ships with support for contextual attributes. It's a confusing term, but incredibly useful. In a nutshell, it allows you to dynamically resolve dependencies from the container at runtime, providing different implementations depending on the context in which they're used. Let me show you a few examples to make it a bit more clear!
