protected function loadWordpressGlobals(ContainerBuilder $container, $globals)
    {
        $coreGlobals = ['wp', 'wp_the_query', 'wpdb', 'wp_query', 'allowedentitynames'];
        $globals = array_merge($globals, $coreGlobals);

        $container->setParameter('ekino.wordpress.globals', $globals);
    }
protected function loadWordpressGlobals(ContainerBuilder $container, $globals)
    {
        $coreGlobals = ['wp', 'wp_the_query', 'wpdb', 'wp_query', 'allowedentitynames'];
        $globals = array_merge($globals, $coreGlobals);

        $container->setParameter('ekino.wordpress.globals', $globals);
    }
protected function loadWordpressGlobals ( ContainerBuilder $ container , $ globals ) { $ coreGlobals = [ 'wp' , 'wp_the_query' , 'wpdb' , 'wp_query' , 'allowedentitynames' ] ; $ globals = array_merge ( $ globals , $ coreGlobals ) ; $ container -> setParameter ( 'ekino.wordpress.globals' , $ globals ) ; }
Sets global variables array to load.

@param ContainerBuilder $container
@param array            $globals
Sets global variables array to load .