src/Schedule.php
public function events(array $events = null)
    {
        if (null !== $events) {
            return $this->events = $events;
        }

        return $this->events;
    }
public function events(array $events = null)
    {
        if (null !== $events) {
            return $this->events = $events;
        }

        return $this->events;
    }
public function events ( array $ events = null ) { if ( null !== $ events ) { return $ this -> events = $ events ; } return $ this -> events ; }
Get or set the events of the schedule object.

@param array $events

@return Event[]
Get or set the events of the schedule object .