TaggedContainerInterface is the interface implemented when a container knows how to deals with tags.
@author Fabien Potencier <fabien@symfony.com>
@api
Expanded class hierarchy of TaggedContainerInterface
All classes that implement TaggedContainerInterface
interface TaggedContainerInterface extends ContainerInterface {
/**
* Returns service ids for a given tag.
*
* @param string $name The tag name
*
* @return array An array of tags
*
* @api
*/
public function findTaggedServiceIds($name);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerInterface:: |
public | function | Adds a scope to the container | 1 |
ContainerInterface:: |
public | function | Enters the given scope | 1 |
ContainerInterface:: |
constant | |||
ContainerInterface:: |
public | function | Gets a service. | 1 |
ContainerInterface:: |
public | function | Gets a parameter. | 1 |
ContainerInterface:: |
public | function | Returns true if the given service is defined. | 1 |
ContainerInterface:: |
public | function | Checks if a parameter exists. | 1 |
ContainerInterface:: |
public | function | Whether this container has the given scope | 1 |
ContainerInterface:: |
constant | |||
ContainerInterface:: |
public | function | Determines whether the given scope is currently active. | 1 |
ContainerInterface:: |
public | function | Leaves the current scope, and re-enters the parent scope | 1 |
ContainerInterface:: |
constant | |||
ContainerInterface:: |
constant | |||
ContainerInterface:: |
constant | |||
ContainerInterface:: |
public | function | Sets a service. | 1 |
ContainerInterface:: |
public | function | Sets a parameter. | 1 |
TaggedContainerInterface:: |
public | function | Returns service ids for a given tag. | 1 |