public function __construct($entry) { $this->id = Helper::array_find($entry, 'id'); $this->time = Helper::array_find($entry, 'time'); $this->_messaging = Helper::array_find($entry, 'messaging'); $this->buildMessages(); }