protected function refreshXpath()
    {
        unset($this->xpath);

        $this->xpath = new \DOMXPath($this);

        if ($this->isEnvironautDocument()) {
            $this->setDefaultNamespace(self::NAMESPACE_PREFIX, self::NAMESPACE_ENVIRONAUT_1_0);
        }
    }
protected function refreshXpath()
    {
        unset($this->xpath);

        $this->xpath = new \DOMXPath($this);

        if ($this->isEnvironautDocument()) {
            $this->setDefaultNamespace(self::NAMESPACE_PREFIX, self::NAMESPACE_ENVIRONAUT_1_0);
        }
    }
protected function refreshXpath ( ) { unset ( $ this -> xpath ) ; $ this -> xpath = new \ DOMXPath ( $ this ) ; if ( $ this -> isEnvironautDocument ( ) ) { $ this -> setDefaultNamespace ( self :: NAMESPACE_PREFIX , self :: NAMESPACE_ENVIRONAUT_1_0 ) ; } }
Re-instantiates the internal xpath instance and then
registers the Environaut config namespace if necessary.
Re - instantiates the internal xpath instance and then registers the Environaut config namespace if necessary .