public function bindMap(string $name): MapBinding
    {
        if (!isset($this->mapBindings[$name])) {
            $this->mapBindings[$name] = $this->addBinding(new MapBinding($name));
        }

        return $this->mapBindings[$name];
    }
public function bindMap(string $name): MapBinding
    {
        if (!isset($this->mapBindings[$name])) {
            $this->mapBindings[$name] = $this->addBinding(new MapBinding($name));
        }

        return $this->mapBindings[$name];
    }
public function bindMap ( string $ name ) : MapBinding { if ( ! isset ( $ this -> mapBindings [ $ name ] ) ) { $ this -> mapBindings [ $ name ] = $ this -> addBinding ( new MapBinding ( $ name ) ) ; } return $ this -> mapBindings [ $ name ] ; }
bind to a map

If a map with given name already exists it will return exactly this map
to add more key-value pairs to it.

@param   string  $name
@return  \stubbles\ioc\binding\MapBinding
@since   2.0.0
bind to a map