src/Common/Model/AppNotification.php
public function getDefinitions($grouping = null)
    {
        if (is_null($grouping)) {
            return $this->notifications;
        } elseif (isset($this->notifications[$grouping])) {
            return $this->notifications[$grouping];
        } else {
            return [];
        }
    }
public function getDefinitions($grouping = null)
    {
        if (is_null($grouping)) {
            return $this->notifications;
        } elseif (isset($this->notifications[$grouping])) {
            return $this->notifications[$grouping];
        } else {
            return [];
        }
    }
public function getDefinitions ( $ grouping = null ) { if ( is_null ( $ grouping ) ) { return $ this -> notifications ; } elseif ( isset ( $ this -> notifications [ $ grouping ] ) ) { return $ this -> notifications [ $ grouping ] ; } else { return [ ] ; } }
Returns the notification defnintions, optionally limited per group

@param  string $grouping The group to limit to

@return array
Returns the notification defnintions optionally limited per group