src/Traits/Mail/MailQueueTrait.php
public function getMailQueue(): ?MailQueue
    {
        if (!$this->hasMailQueue()) {
            $this->setMailQueue($this->getDefaultMailQueue());
        }
        return $this->mailQueue;
    }
public function getMailQueue(): ?MailQueue
    {
        if (!$this->hasMailQueue()) {
            $this->setMailQueue($this->getDefaultMailQueue());
        }
        return $this->mailQueue;
    }
public function getMailQueue ( ) : ? MailQueue { if ( ! $ this -> hasMailQueue ( ) ) { $ this -> setMailQueue ( $ this -> getDefaultMailQueue ( ) ) ; } return $ this -> mailQueue ; }
Get mail queue

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

@see getDefaultMailQueue()

@return MailQueue|null mail queue or null if none mail queue has been set
Get mail queue