public function event($title, $text = null, $type = Event::INFO, array $tags =array(), $timestamp = null)
    {
        return new Event($title, $text, $this->host, $type, array_merge($this->defaultTags, $tags), $timestamp);
    }
public function event($title, $text = null, $type = Event::INFO, array $tags =array(), $timestamp = null)
    {
        return new Event($title, $text, $this->host, $type, array_merge($this->defaultTags, $tags), $timestamp);
    }
public function event ( $ title , $ text = null , $ type = Event :: INFO , array $ tags = array ( ) , $ timestamp = null ) { return new Event ( $ title , $ text , $ this -> host , $ type , array_merge ( $ this -> defaultTags , $ tags ) , $ timestamp ) ; }
Method to build a single event

@param string $title     Title of the event
@param string $text      Extra information of the event
@param string $type      Type of the event
@param array  $tags      Array of tags for the event
@param int    $timestamp Timestamp when the event happened

@return Event
Method to build a single event