src/MalScraper/Model/General/ProducerModel.php
private function getAnimeProducerId($each_producer)
    {
        $prod_id = $each_producer->href;
        $prod_id = explode('/', $prod_id);
        if ($this->_type == 'anime') {
            return $prod_id[3];
        }

        return $prod_id[4];
    }
private function getAnimeProducerId($each_producer)
    {
        $prod_id = $each_producer->href;
        $prod_id = explode('/', $prod_id);
        if ($this->_type == 'anime') {
            return $prod_id[3];
        }

        return $prod_id[4];
    }
private function getAnimeProducerId ( $ each_producer ) { $ prod_id = $ each_producer -> href ; $ prod_id = explode ( '/' , $ prod_id ) ; if ( $ this -> _type == 'anime' ) { return $ prod_id [ 3 ] ; } return $ prod_id [ 4 ] ; }
Get producer id.

@param \simplehtmldom_1_5\simple_html_dom $each_producer

@return string
Get producer id .