src/MalScraper/Model/General/CharacterModel.php
private function getNickname()
    {
        $nickname = $this->_parser->find('h1', 0)->plaintext;
        $nickname = trim(preg_replace('/\s+/', ' ', $nickname));
        preg_match('/\"([^"])*/', $nickname, $nick);
        if ($nick) {
            return substr($nick[0], 1, strlen($nick[0]) - 2);
        }

        return '';
    }
private function getNickname()
    {
        $nickname = $this->_parser->find('h1', 0)->plaintext;
        $nickname = trim(preg_replace('/\s+/', ' ', $nickname));
        preg_match('/\"([^"])*/', $nickname, $nick);
        if ($nick) {
            return substr($nick[0], 1, strlen($nick[0]) - 2);
        }

        return '';
    }
private function getNickname ( ) { $ nickname = $ this -> _parser -> find ( 'h1' , 0 ) -> plaintext ; $ nickname = trim ( preg_replace ( '/\s+/' , ' ' , $ nickname ) ) ; preg_match ( '/\"([^"])*/' , $ nickname , $ nick ) ; if ( $ nick ) { return substr ( $ nick [ 0 ] , 1 , strlen ( $ nick [ 0 ] ) - 2 ) ; } return '' ; }
Get character image.

@return string
Get character image .