src/MalScraper/Model/General/InfoModel.php
private function getRecomId($each_recom)
    {
        $id = $each_recom->find('a', 0)->href;
        $id = explode('/', $id);
        $id = explode('-', $id[5]);
        if ($id[0] == $this->_id) {
            return $id[1];
        } else {
            return $id[0];
        }
    }
private function getRecomId($each_recom)
    {
        $id = $each_recom->find('a', 0)->href;
        $id = explode('/', $id);
        $id = explode('-', $id[5]);
        if ($id[0] == $this->_id) {
            return $id[1];
        } else {
            return $id[0];
        }
    }
private function getRecomId ( $ each_recom ) { $ id = $ each_recom -> find ( 'a' , 0 ) -> href ; $ id = explode ( '/' , $ id ) ; $ id = explode ( '-' , $ id [ 5 ] ) ; if ( $ id [ 0 ] == $ this -> _id ) { return $ id [ 1 ] ; } else { return $ id [ 0 ] ; } }
Get recommendation id.

@param \simplehtmldom_1_5\simple_html_dom $each_recom

@return string
Get recommendation id .