protected function injectSiteUrlIntoPageObjects(ContainerBuilder $container)
    {
        $page_parameters = $container->getParameter('sensio_labs.page_object_extension.page_factory.page_parameters');
        $page_parameters = $container->getParameterBag()->resolveValue($page_parameters);
        $page_parameters['site_url'] = $container->getParameter('wordpress.parameters')['site_url'];
        $container->setParameter('sensio_labs.page_object_extension.page_factory.page_parameters', $page_parameters);
    }
protected function injectSiteUrlIntoPageObjects(ContainerBuilder $container)
    {
        $page_parameters = $container->getParameter('sensio_labs.page_object_extension.page_factory.page_parameters');
        $page_parameters = $container->getParameterBag()->resolveValue($page_parameters);
        $page_parameters['site_url'] = $container->getParameter('wordpress.parameters')['site_url'];
        $container->setParameter('sensio_labs.page_object_extension.page_factory.page_parameters', $page_parameters);
    }
protected function injectSiteUrlIntoPageObjects ( ContainerBuilder $ container ) { $ page_parameters = $ container -> getParameter ( 'sensio_labs.page_object_extension.page_factory.page_parameters' ) ; $ page_parameters = $ container -> getParameterBag ( ) -> resolveValue ( $ page_parameters ) ; $ page_parameters [ 'site_url' ] = $ container -> getParameter ( 'wordpress.parameters' ) [ 'site_url' ] ; $ container -> setParameter ( 'sensio_labs.page_object_extension.page_factory.page_parameters' , $ page_parameters ) ; }
Adds the WordPress site url as a page parameter into page objects.

@param ContainerBuilder $container
Adds the WordPress site url as a page parameter into page objects .