Skip to content

Commit

Permalink
Add giveTagged to the ContextualBindingBuilder contract
Browse files Browse the repository at this point in the history
  • Loading branch information
simensen committed Apr 24, 2020
1 parent 7f0a148 commit 0129eb3
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 0129eb3

Please sign in to comment.