public function getResult()
    {
        $fbData = new FreeBusyData(
            $this->start->getTimeStamp(),
            $this->end->getTimeStamp()
        );
        if ($this->vavailability) {
            $this->calculateAvailability($fbData, $this->vavailability);
        }

        $this->calculateBusy($fbData, $this->objects);

        return $this->generateFreeBusyCalendar($fbData);
    }
public function getResult()
    {
        $fbData = new FreeBusyData(
            $this->start->getTimeStamp(),
            $this->end->getTimeStamp()
        );
        if ($this->vavailability) {
            $this->calculateAvailability($fbData, $this->vavailability);
        }

        $this->calculateBusy($fbData, $this->objects);

        return $this->generateFreeBusyCalendar($fbData);
    }
public function getResult ( ) { $ fbData = new FreeBusyData ( $ this -> start -> getTimeStamp ( ) , $ this -> end -> getTimeStamp ( ) ) ; if ( $ this -> vavailability ) { $ this -> calculateAvailability ( $ fbData , $ this -> vavailability ) ; } $ this -> calculateBusy ( $ fbData , $ this -> objects ) ; return $ this -> generateFreeBusyCalendar ( $ fbData ) ; }
Parses the input data and returns a correct VFREEBUSY object, wrapped in
a VCALENDAR.

@return Component
Parses the input data and returns a correct VFREEBUSY object wrapped in a VCALENDAR .