src/IronWorker.php
public function getSchedule($schedule_id)
    {
        if (empty($schedule_id)) {
            throw new \InvalidArgumentException("Please set schedule_id");
        }
        $this->setJsonHeaders();
        $url = "projects/{$this->project_id}/schedules/$schedule_id";

        return self::json_decode($this->apiCall(self::GET, $url));
    }
public function getSchedule($schedule_id)
    {
        if (empty($schedule_id)) {
            throw new \InvalidArgumentException("Please set schedule_id");
        }
        $this->setJsonHeaders();
        $url = "projects/{$this->project_id}/schedules/$schedule_id";

        return self::json_decode($this->apiCall(self::GET, $url));
    }
public function getSchedule ( $ schedule_id ) { if ( empty ( $ schedule_id ) ) { throw new \ InvalidArgumentException ( "Please set schedule_id" ) ; } $ this -> setJsonHeaders ( ) ; $ url = "projects/{$this->project_id}/schedules/$schedule_id" ; return self :: json_decode ( $ this -> apiCall ( self :: GET , $ url ) ) ; }
Get information about schedule

@param string $schedule_id Schedule ID
@return mixed
@throws \InvalidArgumentException
Get information about schedule