public function parseConfig(array $configs)
    {
        foreach ($configs as &$config) {
            $config['states'] = $this->parseStates($config['states']);

            if (isset($config['callbacks'])) {
                $config['callbacks'] = $this->parseCallbacks($config['callbacks']);
            }
        }

        return $configs;
    }
public function parseConfig(array $configs)
    {
        foreach ($configs as &$config) {
            $config['states'] = $this->parseStates($config['states']);

            if (isset($config['callbacks'])) {
                $config['callbacks'] = $this->parseCallbacks($config['callbacks']);
            }
        }

        return $configs;
    }
public function parseConfig ( array $ configs ) { foreach ( $ configs as & $ config ) { $ config [ 'states' ] = $ this -> parseStates ( $ config [ 'states' ] ) ; if ( isset ( $ config [ 'callbacks' ] ) ) { $ config [ 'callbacks' ] = $ this -> parseCallbacks ( $ config [ 'callbacks' ] ) ; } } return $ configs ; }
Does whatever is needed to transform the config in an acceptable argument for the factory

@param array $configs

@return array
Does whatever is needed to transform the config in an acceptable argument for the factory