public function getParameter(InputInterface $input, $key)
    {
        $config = $this->getConfig();
        $adapter = $input->getOption('repo-adapter');

        if ($value = $config->get(['adapters', $adapter, $key])) {
            return $value;
        }

        return $config->get($key);
    }
public function getParameter(InputInterface $input, $key)
    {
        $config = $this->getConfig();
        $adapter = $input->getOption('repo-adapter');

        if ($value = $config->get(['adapters', $adapter, $key])) {
            return $value;
        }

        return $config->get($key);
    }
public function getParameter ( InputInterface $ input , $ key ) { $ config = $ this -> getConfig ( ) ; $ adapter = $ input -> getOption ( 'repo-adapter' ) ; if ( $ value = $ config -> get ( [ 'adapters' , $ adapter , $ key ] ) ) { return $ value ; } return $ config -> get ( $ key ) ; }
Gets a specific parameter.

@param InputInterface $input
@param string         $key

@return mixed
Gets a specific parameter .