src/Hydra/Commands/ConfigCommandTrait.php
protected function getConfigHelper($serviceName)
    {
        $storage = new HydraTokenStorage();
        $provider = new DefaultServiceProvider($storage);

        $className = $this->getConfigHelperClassName($serviceName);

        return new $className(
            $storage,
            $provider,
            $serviceName
        );
    }
protected function getConfigHelper($serviceName)
    {
        $storage = new HydraTokenStorage();
        $provider = new DefaultServiceProvider($storage);

        $className = $this->getConfigHelperClassName($serviceName);

        return new $className(
            $storage,
            $provider,
            $serviceName
        );
    }
protected function getConfigHelper ( $ serviceName ) { $ storage = new HydraTokenStorage ( ) ; $ provider = new DefaultServiceProvider ( $ storage ) ; $ className = $ this -> getConfigHelperClassName ( $ serviceName ) ; return new $ className ( $ storage , $ provider , $ serviceName ) ; }
overwrite for dependency injection
overwrite for dependency injection