protected function detectExtendsNamespace()
    {
        if (strpos($this->extends, '\\') !== false) {
            $nsParts = explode('\\', $this->extends);
            $this->extendsClass = array_pop($nsParts);
            $this->extendsNamespace = implode('\\', $nsParts);
        }
    }
protected function detectExtendsNamespace()
    {
        if (strpos($this->extends, '\\') !== false) {
            $nsParts = explode('\\', $this->extends);
            $this->extendsClass = array_pop($nsParts);
            $this->extendsNamespace = implode('\\', $nsParts);
        }
    }
protected function detectExtendsNamespace ( ) { if ( strpos ( $ this -> extends , '\\' ) !== false ) { $ nsParts = explode ( '\\' , $ this -> extends ) ; $ this -> extendsClass = array_pop ( $ nsParts ) ; $ this -> extendsNamespace = implode ( '\\' , $ nsParts ) ; } }
Detect the extends namespace
Detect the extends namespace