src/MalScraper/Model/General/CharacterModel.php
private function getVa()
    {
        $va = [];
        $va_index = 0;
        $html = $this->_parser->find('#content table tr', 0)->find('td', 0)->next_sibling();
        $va_area = $html->find('div[class=normal_header]', 1)->next_sibling();
        if ($va_area->tag == 'table') {
            while (true) {
                $va_name_area = $va_area->find('td', 1);
                $va[$va_index]['id'] = $this->getVaId($va_name_area);
                $va[$va_index]['name'] = $this->getVaName($va_name_area);
                $va[$va_index]['role'] = $this->getVaRole($va_name_area);
                $va[$va_index]['image'] = $this->getVaImage($va_area);

                $va_area = $va_area->next_sibling();
                if ($va_area->tag != 'table') {
                    break;
                } else {
                    $va_index++;
                }
            }
        }

        return $va;
    }
private function getVa()
    {
        $va = [];
        $va_index = 0;
        $html = $this->_parser->find('#content table tr', 0)->find('td', 0)->next_sibling();
        $va_area = $html->find('div[class=normal_header]', 1)->next_sibling();
        if ($va_area->tag == 'table') {
            while (true) {
                $va_name_area = $va_area->find('td', 1);
                $va[$va_index]['id'] = $this->getVaId($va_name_area);
                $va[$va_index]['name'] = $this->getVaName($va_name_area);
                $va[$va_index]['role'] = $this->getVaRole($va_name_area);
                $va[$va_index]['image'] = $this->getVaImage($va_area);

                $va_area = $va_area->next_sibling();
                if ($va_area->tag != 'table') {
                    break;
                } else {
                    $va_index++;
                }
            }
        }

        return $va;
    }
private function getVa ( ) { $ va = [ ] ; $ va_index = 0 ; $ html = $ this -> _parser -> find ( '#content table tr' , 0 ) -> find ( 'td' , 0 ) -> next_sibling ( ) ; $ va_area = $ html -> find ( 'div[class=normal_header]' , 1 ) -> next_sibling ( ) ; if ( $ va_area -> tag == 'table' ) { while ( true ) { $ va_name_area = $ va_area -> find ( 'td' , 1 ) ; $ va [ $ va_index ] [ 'id' ] = $ this -> getVaId ( $ va_name_area ) ; $ va [ $ va_index ] [ 'name' ] = $ this -> getVaName ( $ va_name_area ) ; $ va [ $ va_index ] [ 'role' ] = $ this -> getVaRole ( $ va_name_area ) ; $ va [ $ va_index ] [ 'image' ] = $ this -> getVaImage ( $ va_area ) ; $ va_area = $ va_area -> next_sibling ( ) ; if ( $ va_area -> tag != 'table' ) { break ; } else { $ va_index ++ ; } } } return $ va ; }
Get character voice actor list.

@return array
Get character voice actor list .