src/MalScraper/Model/General/RecommendationModel.php
private function getSourceLiked($source_area, $key)
    {
        $liked = [];
        $source_area = $source_area->find('td', $key);
        $liked['id'] = $this->getSourceId($source_area);
        $liked['title'] = $this->getSourceTitle($source_area);
        $liked['type'] = $this->getType();
        $liked['image'] = $this->getSourceImage($source_area);

        return $liked;
    }
private function getSourceLiked($source_area, $key)
    {
        $liked = [];
        $source_area = $source_area->find('td', $key);
        $liked['id'] = $this->getSourceId($source_area);
        $liked['title'] = $this->getSourceTitle($source_area);
        $liked['type'] = $this->getType();
        $liked['image'] = $this->getSourceImage($source_area);

        return $liked;
    }
private function getSourceLiked ( $ source_area , $ key ) { $ liked = [ ] ; $ source_area = $ source_area -> find ( 'td' , $ key ) ; $ liked [ 'id' ] = $ this -> getSourceId ( $ source_area ) ; $ liked [ 'title' ] = $ this -> getSourceTitle ( $ source_area ) ; $ liked [ 'type' ] = $ this -> getType ( ) ; $ liked [ 'image' ] = $ this -> getSourceImage ( $ source_area ) ; return $ liked ; }
Get source liked.

@param \simplehtmldom_1_5\simple_html_dom $source_area
@param int                                $key

@return array
Get source liked .