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 679ffa4 commit e5d2ed9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Container/ContextualBindingBuilder.php
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 e5d2ed9

Please sign in to comment.