PhpSpec\ServiceContainer\IndexedServiceContainer::indexTags PHP Метод

indexTags() приватный Метод

Adds a service or service definition to the index
private indexTags ( string $id, array $tags )
$id string
$tags array
    private function indexTags($id, array $tags)
    {
        foreach ($tags as $tag) {
            $this->tags[$tag][] = $id;
        }
    }