src/PAGI/Node/Node.php
protected function playPrePromptMessages()
    {
        $interruptable = $this->prePromptMessagesInterruptable;
        $result = $this->callClientMethods(
            $this->prePromptMessages,
            function ($result) use ($interruptable) {
                /* @var $result IReadResult */
                return $interruptable && !$result->isTimeout();
            }
        );
        $this->clearPrePromptMessages();
        return $result;
    }
protected function playPrePromptMessages()
    {
        $interruptable = $this->prePromptMessagesInterruptable;
        $result = $this->callClientMethods(
            $this->prePromptMessages,
            function ($result) use ($interruptable) {
                /* @var $result IReadResult */
                return $interruptable && !$result->isTimeout();
            }
        );
        $this->clearPrePromptMessages();
        return $result;
    }
protected function playPrePromptMessages ( ) { $ interruptable = $ this -> prePromptMessagesInterruptable ; $ result = $ this -> callClientMethods ( $ this -> prePromptMessages , function ( $ result ) use ( $ interruptable ) { /* @var $result IReadResult */ return $ interruptable && ! $ result -> isTimeout ( ) ; } ) ; $ this -> clearPrePromptMessages ( ) ; return $ result ; }
Internally used to play all pre prompt queued messages. Clears the
queue after it.

@return IResult
Internally used to play all pre prompt queued messages . Clears the queue after it .