public function setNamespace($v)
    {
        if ($v == $this->namespace) {
            return;
        }
        $this->namespace = $v;
        if ($v && (!$this->pkg || $this->pkgOverridden) && $this->getBuildProperty('namespaceAutoPackage')) {
            $this->pkg = str_replace('\\', '.', $v);
            $this->pkgOverridden = true;
        }
    }
public function setNamespace($v)
    {
        if ($v == $this->namespace) {
            return;
        }
        $this->namespace = $v;
        if ($v && (!$this->pkg || $this->pkgOverridden) && $this->getBuildProperty('namespaceAutoPackage')) {
            $this->pkg = str_replace('\\', '.', $v);
            $this->pkgOverridden = true;
        }
    }
public function setNamespace ( $ v ) { if ( $ v == $ this -> namespace ) { return ; } $ this -> namespace = $ v ; if ( $ v && ( ! $ this -> pkg || $ this -> pkgOverridden ) && $ this -> getBuildProperty ( 'namespaceAutoPackage' ) ) { $ this -> pkg = str_replace ( '\\' , '.' , $ v ) ; $ this -> pkgOverridden = true ; } }
Set the value of the namespace.

@param   $v Value to assign to namespace.
Set the value of the namespace .