Lndj\Lcrawl::getSchedule PHP 메소드

getSchedule() 공개 메소드

Get the schedule data
public getSchedule ( ) : Array
리턴 Array
    public function getSchedule()
    {
        /**
         * Default: get the current term schedule data by GET
         * If you want to get the other term's data, use POST
         * TODO: use POST to get other term's data
         */
        $response = $this->buildGetRequest(self::ZF_SCHEDULE_URI, [], $this->headers);
        return $this->parserSchedule($response->getBody());
    }