src/MalScraper/Model/User/UserModel.php
private function getFavImage($each_fav)
    {
        $image = $each_fav->find('a', 0)->style;
        preg_match('/\'([^\'])*/', $image, $image);
        $image = substr($image[0], 1);

        return Helper::imageUrlCleaner($image);
    }
private function getFavImage($each_fav)
    {
        $image = $each_fav->find('a', 0)->style;
        preg_match('/\'([^\'])*/', $image, $image);
        $image = substr($image[0], 1);

        return Helper::imageUrlCleaner($image);
    }
private function getFavImage ( $ each_fav ) { $ image = $ each_fav -> find ( 'a' , 0 ) -> style ; preg_match ( '/\'([^\'])*/' , $ image , $ image ) ; $ image = substr ( $ image [ 0 ] , 1 ) ; return Helper :: imageUrlCleaner ( $ image ) ; }
Get favorite image.

@param \simplehtmldom_1_5\simple_html_dom $each_fav

@return string
Get favorite image .