src/Controller/Plugin/Notification.php
public function getAllCurrent()
    {
        $notifications = [];
        $container = $this->getContainer();

        foreach ($container as $namespace => $notification) {
            $notifications[$namespace] = $this->getCurrent($namespace);
        }

        return $notifications;
    }
public function getAllCurrent()
    {
        $notifications = [];
        $container = $this->getContainer();

        foreach ($container as $namespace => $notification) {
            $notifications[$namespace] = $this->getCurrent($namespace);
        }

        return $notifications;
    }
public function getAllCurrent ( ) { $ notifications = [ ] ; $ container = $ this -> getContainer ( ) ; foreach ( $ container as $ namespace => $ notification ) { $ notifications [ $ namespace ] = $ this -> getCurrent ( $ namespace ) ; } return $ notifications ; }
Get all current notifications

@return array
Get all current notifications