/** * Get the instance as an array. * * @return array */ public function toArray() { $arr = array('container' => $this->container, 'format' => $this->format, 'notifications' => $this->notifications->toArray()); return $arr; }
/** * Get the instance as an array. * * @return array */ public function toArray() { $arr = array('container' => $this->container, 'format' => $this->getDefaultFormat(), 'types' => $this->getTypes(), 'notifications' => $this->notifications->toArray()); return $arr; }