src/main/php/ioc/binding/MapBinding.php
public function withEntryFromProvider($key, $provider)
    {
        $this->bindings[$key] = $this->getProviderCreator($provider);
        return $this;
    }
public function withEntryFromProvider($key, $provider)
    {
        $this->bindings[$key] = $this->getProviderCreator($provider);
        return $this;
    }
public function withEntryFromProvider ( $ key , $ provider ) { $ 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