public function setFQN($fqn) {
    if (FALSE !== ($pos = mb_strrpos($fqn,'\\'))) {
      $this->namespace = ltrim(mb_substr($fqn, 0, $pos+1), '\\'); // +1 to add the trailing slash, see setNamespace
      $this->setName(mb_substr($fqn, $pos));
    } else {
      $this->namespace = NULL;
      $this->setName($fqn);
    }
  }
public function setFQN($fqn) {
    if (FALSE !== ($pos = mb_strrpos($fqn,'\\'))) {
      $this->namespace = ltrim(mb_substr($fqn, 0, $pos+1), '\\'); // +1 to add the trailing slash, see setNamespace
      $this->setName(mb_substr($fqn, $pos));
    } else {
      $this->namespace = NULL;
      $this->setName($fqn);
    }
  }
public function setFQN ( $ fqn ) { if ( FALSE !== ( $ pos = mb_strrpos ( $ fqn , '\\' ) ) ) { $ this -> namespace = ltrim ( mb_substr ( $ fqn , 0 , $ pos + 1 ) , '\\' ) ; // +1 to add the trailing slash, see setNamespace $ this -> setName ( mb_substr ( $ fqn , $ pos ) ) ; } else { $ this -> namespace = NULL ; $ this -> setName ( $ fqn ) ; } }
Replaces the Namespace and Name of the Class

@param string $fqn no \ before
Replaces the Namespace and Name of the Class