src/Traits/Queue/QueueMonitorTrait.php
public function getQueueMonitor(): ?Monitor
    {
        if (!$this->hasQueueMonitor()) {
            $this->setQueueMonitor($this->getDefaultQueueMonitor());
        }
        return $this->queueMonitor;
    }
public function getQueueMonitor(): ?Monitor
    {
        if (!$this->hasQueueMonitor()) {
            $this->setQueueMonitor($this->getDefaultQueueMonitor());
        }
        return $this->queueMonitor;
    }
public function getQueueMonitor ( ) : ? Monitor { if ( ! $ this -> hasQueueMonitor ( ) ) { $ this -> setQueueMonitor ( $ this -> getDefaultQueueMonitor ( ) ) ; } return $ this -> queueMonitor ; }
Get queue monitor

If no queue monitor has been set, this method will
set and return a default queue monitor, if any such
value is available

@see getDefaultQueueMonitor()

@return Monitor|null queue monitor or null if none queue monitor has been set
Get queue monitor