src/Database/Addic7edDatabase.php
public function getShowData($showId, $season=1)
    {
        if (isset($this->shows[$showId][$season])) {
            return $this->shows[$showId][$season];
        }

        $showData = $this->scrapper->show($showId, $season);

        return $this->shows[$showId][$season] = $showData;
    }
public function getShowData($showId, $season=1)
    {
        if (isset($this->shows[$showId][$season])) {
            return $this->shows[$showId][$season];
        }

        $showData = $this->scrapper->show($showId, $season);

        return $this->shows[$showId][$season] = $showData;
    }
public function getShowData ( $ showId , $ season = 1 ) { if ( isset ( $ this -> shows [ $ showId ] [ $ season ] ) ) { return $ this -> shows [ $ showId ] [ $ season ] ; } $ showData = $ this -> scrapper -> show ( $ showId , $ season ) ; return $ this -> shows [ $ showId ] [ $ season ] = $ showData ; }
Get show data

@param int showId

@return array showData
Get show data