public function withEntryFromProvider(string $key, $provider): self
    {
        $this->bindings[$key] = $this->getProviderCreator($provider);
        return $this;
    }
public function withEntryFromProvider(string $key, $provider): self
    {
        $this->bindings[$key] = $this->getProviderCreator($provider);
        return $this;
    }
public function withEntryFromProvider ( string $ key , $ provider ) : self { $ this -> bindings [ $ key ] = $ this -> getProviderCreator ( $ provider ) ; return $ this ; }
adds an entry to the map created by an injection provider

@api
@param   string                    $key
@param   string|\stubbles\ioc\InjectionProvider  $provider
@return  \stubbles\ioc\binding\MapBinding
adds an entry to the map created by an injection provider