public function getAuthors()
    {
        if (is_array($this->_authors)) return $this->_authors;
        $this->_authors = array();
        if(!isset($this->_packageXml->authors->author)) {
            return array();
        }
        foreach ($this->_packageXml->authors->author as $_author) {
            $this->_authors[] = array(
                'name' => (string)$_author->name,
                'user' => (string)$_author->user,
                'email'=> (string)$_author->email
            );
        }
        return $this->_authors;
    }
public function getAuthors()
    {
        if (is_array($this->_authors)) return $this->_authors;
        $this->_authors = array();
        if(!isset($this->_packageXml->authors->author)) {
            return array();
        }
        foreach ($this->_packageXml->authors->author as $_author) {
            $this->_authors[] = array(
                'name' => (string)$_author->name,
                'user' => (string)$_author->user,
                'email'=> (string)$_author->email
            );
        }
        return $this->_authors;
    }
public function getAuthors ( ) { if ( is_array ( $ this -> _authors ) ) return $ this -> _authors ; $ this -> _authors = array ( ) ; if ( ! isset ( $ this -> _packageXml -> authors -> author ) ) { return array ( ) ; } foreach ( $ this -> _packageXml -> authors -> author as $ _author ) { $ this -> _authors [ ] = array ( 'name' => ( string ) $ _author -> name , 'user' => ( string ) $ _author -> user , 'email' => ( string ) $ _author -> email ) ; } return $ this -> _authors ; }
Get list of authors in associative array.

@return array
Get list of authors in associative array .