/** * Get the article for news message * * @return mixed false if this is not a news | array of articles */ public function articles() { if ($this->message->msgType !== 'news') { LOG::warning('Accessing article for non-news message'); return false; } $content = $this->content; return $content['Articles']; }