Skip to content

Commit

Permalink
Merge pull request #32530 from simensen/add-give-tagged-to-contract
Browse files Browse the repository at this point in the history
[8.x] Add giveTagged to ContextualBindingBuilder contract
  • Loading branch information
taylorotwell authored Apr 24, 2020
2 parents 7f0a148 + 0129eb3 commit 9d50bff
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,12 @@ public function needs($abstract);
* @return void
*/
public function give($implementation);

/**
* Define tagged services to be used as the implementation for the contextual binding.
*
* @param string $tag
* @return void
*/
public function giveTagged($tag);
}

0 comments on commit 9d50bff

Please sign in to comment.