public function all()
    {
        $results = array();

        foreach ($this->events as $events) {
            $results = array_merge($results, $events);
        }

        return $results;
    }
public function all()
    {
        $results = array();

        foreach ($this->events as $events) {
            $results = array_merge($results, $events);
        }

        return $results;
    }
public function all ( ) { $ results = array ( ) ; foreach ( $ this -> events as $ events ) { $ results = array_merge ( $ results , $ events ) ; } return $ results ; }
Returns a flattened array of all events.

@return EventInterface[]
Returns a flattened array of all events .