src/MalScraper/Model/Top/TopPeopleModel.php
private function getJapaneseName($name_area)
    {
        $name = $name_area->find('.information', 0)->find('span', 0);
        if ($name) {
            $name = $name->plaintext;

            return substr($name, 1, strlen($name) - 3);
        }

        return '';
    }
private function getJapaneseName($name_area)
    {
        $name = $name_area->find('.information', 0)->find('span', 0);
        if ($name) {
            $name = $name->plaintext;

            return substr($name, 1, strlen($name) - 3);
        }

        return '';
    }
private function getJapaneseName ( $ name_area ) { $ name = $ name_area -> find ( '.information' , 0 ) -> find ( 'span' , 0 ) ; if ( $ name ) { $ name = $ name -> plaintext ; return substr ( $ name , 1 , strlen ( $ name ) - 3 ) ; } return '' ; }
Get japanese name.

@param \simplehtmldom_1_5\simple_html_dom $name_area

@return string
Get japanese name .