library/Odesk/Phystrix/AbstractCommand.php
public function initializeConfig(Config $phystrixConfig)
    {
        $commandKey = $this->getCommandKey();
        $config = new Config($phystrixConfig->get('default')->toArray(), true);
        if ($phystrixConfig->__isset($commandKey)) {
            $commandConfig = $phystrixConfig->get($commandKey);
            $config->merge($commandConfig);
        }
        $this->config = $config;
    }
public function initializeConfig(Config $phystrixConfig)
    {
        $commandKey = $this->getCommandKey();
        $config = new Config($phystrixConfig->get('default')->toArray(), true);
        if ($phystrixConfig->__isset($commandKey)) {
            $commandConfig = $phystrixConfig->get($commandKey);
            $config->merge($commandConfig);
        }
        $this->config = $config;
    }
public function initializeConfig ( Config $ phystrixConfig ) { $ commandKey = $ this -> getCommandKey ( ) ; $ config = new Config ( $ phystrixConfig -> get ( 'default' ) -> toArray ( ) , true ) ; if ( $ phystrixConfig -> __isset ( $ commandKey ) ) { $ commandConfig = $ phystrixConfig -> get ( $ commandKey ) ; $ config -> merge ( $ commandConfig ) ; } $ this -> config = $ config ; }
Sets base command configuration from the global phystrix configuration

@param Config $phystrixConfig
Sets base command configuration from the global phystrix configuration