src/Behat/Behat/Context/Environment/Handler/ContextEnvironmentHandler.php
private function getNormalizedContextSettings(Suite $suite)
    {
        return array_map(
            function ($context) {
                $class = $context;
                $arguments = array();

                if (is_array($context)) {
                    $class = current(array_keys($context));
                    $arguments = $context[$class];
                }

                return array($class, $arguments);
            },
            $this->getSuiteContexts($suite)
        );
    }
private function getNormalizedContextSettings(Suite $suite)
    {
        return array_map(
            function ($context) {
                $class = $context;
                $arguments = array();

                if (is_array($context)) {
                    $class = current(array_keys($context));
                    $arguments = $context[$class];
                }

                return array($class, $arguments);
            },
            $this->getSuiteContexts($suite)
        );
    }
private function getNormalizedContextSettings ( Suite $ suite ) { return array_map ( function ( $ context ) { $ class = $ context ; $ arguments = array ( ) ; if ( is_array ( $ context ) ) { $ class = current ( array_keys ( $ context ) ) ; $ arguments = $ context [ $ class ] ; } return array ( $ class , $ arguments ) ; } , $ this -> getSuiteContexts ( $ suite ) ) ; }
Returns normalized suite context settings.

@param Suite $suite

@return array
Returns normalized suite context settings .