src/Sulu/Component/Webspace/Webspace.php
public function setDefaultLocalization($defaultLocalization)
    {
        $this->defaultLocalization = $defaultLocalization;

        if (!$this->getXDefaultLocalization()) {
            $this->xDefaultLocalization = $defaultLocalization;
        }
    }
public function setDefaultLocalization($defaultLocalization)
    {
        $this->defaultLocalization = $defaultLocalization;

        if (!$this->getXDefaultLocalization()) {
            $this->xDefaultLocalization = $defaultLocalization;
        }
    }
public function setDefaultLocalization ( $ defaultLocalization ) { $ this -> defaultLocalization = $ defaultLocalization ; if ( ! $ this -> getXDefaultLocalization ( ) ) { $ this -> xDefaultLocalization = $ defaultLocalization ; } }
Sets the default localization for this webspace.

@param Localization $defaultLocalization
Sets the default localization for this webspace .