interface Illuminate / Contracts / Container / ContextualBindingBuilder
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ContextualBindingBuilder

Methods

public

needs ( $abstract ) : $this

Define the abstract target that depends on the context.

Parameters

  • $abstract string
public

give ( $implementation ) : void

Define the implementation for the contextual binding.

Parameters

public

giveTagged ( $tag ) : void

Define tagged services to be used as the implementation for the contextual binding.

Parameters

  • $tag string