public function getTags()
    {
        if (!$this->tags) {
            $this->tags = array();

            foreach ($this->events as $event) {
                $this->tags = array_merge($this->tags, $event->getTags());
            }

            $this->tags = array_values(array_unique($this->tags));
        }

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

            foreach ($this->events as $event) {
                $this->tags = array_merge($this->tags, $event->getTags());
            }

            $this->tags = array_values(array_unique($this->tags));
        }

        return $this->tags;
    }
public function getTags ( ) { if ( ! $ this -> tags ) { $ this -> tags = array ( ) ; foreach ( $ this -> events as $ event ) { $ this -> tags = array_merge ( $ this -> tags , $ event -> getTags ( ) ) ; } $ this -> tags = array_values ( array_unique ( $ this -> tags ) ) ; } return $ this -> tags ; }
Returns list of affected tags

@return string[]|array
Returns list of affected tags