protected function setPageObjectNamespaces(ContainerBuilder $container)
    {
        // Append our namespaces as earlier namespaces take precedence.
        $pages = $container->getParameter('sensio_labs.page_object_extension.namespaces.page');
        $pages[] = 'PaulGibbs\WordpressBehatExtension\PageObject';

        $elements = $container->getParameter('sensio_labs.page_object_extension.namespaces.element');
        $elements[] = 'PaulGibbs\WordpressBehatExtension\PageObject\Element';

        $container->setParameter('sensio_labs.page_object_extension.namespaces.page', $pages);
        $container->setParameter('sensio_labs.page_object_extension.namespaces.element', $elements);
    }
protected function setPageObjectNamespaces(ContainerBuilder $container)
    {
        // Append our namespaces as earlier namespaces take precedence.
        $pages = $container->getParameter('sensio_labs.page_object_extension.namespaces.page');
        $pages[] = 'PaulGibbs\WordpressBehatExtension\PageObject';

        $elements = $container->getParameter('sensio_labs.page_object_extension.namespaces.element');
        $elements[] = 'PaulGibbs\WordpressBehatExtension\PageObject\Element';

        $container->setParameter('sensio_labs.page_object_extension.namespaces.page', $pages);
        $container->setParameter('sensio_labs.page_object_extension.namespaces.element', $elements);
    }
protected function setPageObjectNamespaces ( ContainerBuilder $ container ) { // Append our namespaces as earlier namespaces take precedence. $ pages = $ container -> getParameter ( 'sensio_labs.page_object_extension.namespaces.page' ) ; $ pages [ ] = 'PaulGibbs\WordpressBehatExtension\PageObject' ; $ elements = $ container -> getParameter ( 'sensio_labs.page_object_extension.namespaces.element' ) ; $ elements [ ] = 'PaulGibbs\WordpressBehatExtension\PageObject\Element' ; $ container -> setParameter ( 'sensio_labs.page_object_extension.namespaces.page' , $ pages ) ; $ container -> setParameter ( 'sensio_labs.page_object_extension.namespaces.element' , $ elements ) ; }
Tell Page Object Extension the namespace of our page objects

@param ContainerBuilder $container
Tell Page Object Extension the namespace of our page objects