public function toProviderClass($providerClass): self
    {
        $this->providerClass = (($providerClass instanceof \ReflectionClass) ?
                                    ($providerClass->getName()) : ($providerClass));
        return $this;
    }
public function toProviderClass($providerClass): self
    {
        $this->providerClass = (($providerClass instanceof \ReflectionClass) ?
                                    ($providerClass->getName()) : ($providerClass));
        return $this;
    }
public function toProviderClass ( $ providerClass ) : self { $ this -> providerClass = ( ( $ providerClass instanceof \ ReflectionClass ) ? ( $ providerClass -> getName ( ) ) : ( $ providerClass ) ) ; return $ this ; }
set the provider class that should be used to create instances for this binding

This cannot be used in conjuction with the 'toInstance()' or
'toProvider()' method.

@api
@param   string|\ReflectionClass  $providerClass
@return  \stubbles\ioc\binding\ClassBinding
set the provider class that should be used to create instances for this binding