public function sendNotify(string $action, $context = null)
    {
        \BFW\Application::getInstance()
            ->getMonolog()
            ->getLogger()
            ->debug(
                'RunTask notify',
                [
                    'prefix' => $this->notifyPrefix,
                    'action' => $action
                ]
            )
        ;
        
        $this->addNotification($action, $context);
    }
public function sendNotify(string $action, $context = null)
    {
        \BFW\Application::getInstance()
            ->getMonolog()
            ->getLogger()
            ->debug(
                'RunTask notify',
                [
                    'prefix' => $this->notifyPrefix,
                    'action' => $action
                ]
            )
        ;
        
        $this->addNotification($action, $context);
    }
public function sendNotify ( string $ action , $ context = null ) { \ BFW \ Application :: getInstance ( ) -> getMonolog ( ) -> getLogger ( ) -> debug ( 'RunTask notify' , [ 'prefix' => $ this -> notifyPrefix , 'action' => $ action ] ) ; $ this -> addNotification ( $ action , $ context ) ; }
Send a notification to all observers connected to the subject

@param string $action The action name
@param mixed $context (default null) The context to pass to the subject

@return void
Send a notification to all observers connected to the subject