public function getContext()
    {
        $context = [];
        foreach ($this->contextProviders as $contextProvider) {
            $context[] = $contextProvider->getContext();
        }

        return empty($context) ? $context : call_user_func_array('array_merge', $context);
    }
public function getContext()
    {
        $context = [];
        foreach ($this->contextProviders as $contextProvider) {
            $context[] = $contextProvider->getContext();
        }

        return empty($context) ? $context : call_user_func_array('array_merge', $context);
    }
public function getContext ( ) { $ context = [ ] ; foreach ( $ this -> contextProviders as $ contextProvider ) { $ context [ ] = $ contextProvider -> getContext ( ) ; } return empty ( $ context ) ? $ context : call_user_func_array ( 'array_merge' , $ context ) ; }
Get provided context.

@return array
Get provided context .