public static function getNotification()
    {
        $notificationClassList = ClassMapGenerator::createMap(base_path().'/vendor/abuseio');
        /** @noinspection PhpUnusedParameterInspection */
        $notificationClassListFiltered = array_where(
            array_keys($notificationClassList),
            function ($value, $key) {
                // Get all notifications, ignore all other packages.
                if (strpos($value, 'AbuseIO\Notification\\') !== false) {
                    return $value;
                }
                return false;
            }
        );

        $notifications = [];
        $notificationList = array_map('class_basename', $notificationClassListFiltered);
        foreach ($notificationList as $notification) {
            if (!in_array($notification, ['Factory', 'Notification'])) {
                $notifications[] = $notification;
            }
        }
        return $notifications;
    }
public static function getNotification()
    {
        $notificationClassList = ClassMapGenerator::createMap(base_path().'/vendor/abuseio');
        /** @noinspection PhpUnusedParameterInspection */
        $notificationClassListFiltered = array_where(
            array_keys($notificationClassList),
            function ($value, $key) {
                // Get all notifications, ignore all other packages.
                if (strpos($value, 'AbuseIO\Notification\\') !== false) {
                    return $value;
                }
                return false;
            }
        );

        $notifications = [];
        $notificationList = array_map('class_basename', $notificationClassListFiltered);
        foreach ($notificationList as $notification) {
            if (!in_array($notification, ['Factory', 'Notification'])) {
                $notifications[] = $notification;
            }
        }
        return $notifications;
    }
public static function getNotification ( ) { $ notificationClassList = ClassMapGenerator :: createMap ( base_path ( ) . '/vendor/abuseio' ) ; /** @noinspection PhpUnusedParameterInspection */ $ notificationClassListFiltered = array_where ( array_keys ( $ notificationClassList ) , function ( $ value , $ key ) { // Get all notifications, ignore all other packages. if ( strpos ( $ value , 'AbuseIO\Notification\\' ) !== false ) { return $ value ; } return false ; } ) ; $ notifications = [ ] ; $ notificationList = array_map ( 'class_basename' , $ notificationClassListFiltered ) ; foreach ( $ notificationList as $ notification ) { if ( ! in_array ( $ notification , [ 'Factory' , 'Notification' ] ) ) { $ notifications [ ] = $ notification ; } } return $ notifications ; }
Get a list of installed AbuseIO notifications and return as an array

@return array
Get a list of installed AbuseIO notifications and return as an array