src/MalScraper/Model/Additional/EpisodeModel.php
private function getAllInfo()
    {
        $data = [];
        $episode_area = $this->_parser->find('table.episode_list', 0);
        if ($episode_area) {
            foreach ($episode_area->find('.episode-list-data') as $each_episode) {
                $temp = [];

                $temp['episode'] = $this->getEpisodeNo($each_episode);
                $temp['link'] = $this->getEpisodeLink($each_episode);
                $temp['title'] = $this->getEpisodeTitle($each_episode);
                $temp['japanese_title'] = $this->getEpisodeTitle($each_episode, true);
                $temp['aired'] = $this->getEpisodeAired($each_episode);

                $data[] = $temp;
            }
        }

        return $data;
    }
private function getAllInfo()
    {
        $data = [];
        $episode_area = $this->_parser->find('table.episode_list', 0);
        if ($episode_area) {
            foreach ($episode_area->find('.episode-list-data') as $each_episode) {
                $temp = [];

                $temp['episode'] = $this->getEpisodeNo($each_episode);
                $temp['link'] = $this->getEpisodeLink($each_episode);
                $temp['title'] = $this->getEpisodeTitle($each_episode);
                $temp['japanese_title'] = $this->getEpisodeTitle($each_episode, true);
                $temp['aired'] = $this->getEpisodeAired($each_episode);

                $data[] = $temp;
            }
        }

        return $data;
    }
private function getAllInfo ( ) { $ data = [ ] ; $ episode_area = $ this -> _parser -> find ( 'table.episode_list' , 0 ) ; if ( $ episode_area ) { foreach ( $ episode_area -> find ( '.episode-list-data' ) as $ each_episode ) { $ temp = [ ] ; $ temp [ 'episode' ] = $ this -> getEpisodeNo ( $ each_episode ) ; $ temp [ 'link' ] = $ this -> getEpisodeLink ( $ each_episode ) ; $ temp [ 'title' ] = $ this -> getEpisodeTitle ( $ each_episode ) ; $ temp [ 'japanese_title' ] = $ this -> getEpisodeTitle ( $ each_episode , true ) ; $ temp [ 'aired' ] = $ this -> getEpisodeAired ( $ each_episode ) ; $ data [ ] = $ temp ; } } return $ data ; }
Get anime videos.

@return array
Get anime videos .