public function set(string $id, $value, array $tags = []): void
    {
        $this->values[$id] = $value;
        foreach ($tags as $tag) {
            $this->tags[$tag][] = $id;
        }
    }
public function set(string $id, $value, array $tags = []): void
    {
        $this->values[$id] = $value;
        foreach ($tags as $tag) {
            $this->tags[$tag][] = $id;
        }
    }
public function set ( string $ id , $ value , array $ tags = [ ] ) : void { $ this -> values [ $ id ] = $ value ; foreach ( $ tags as $ tag ) { $ this -> tags [ $ tag ] [ ] = $ id ; } }
Set a service into the container

@param mixed $value Value to store
Set a service into the container