src/Traits/HandlesConversations.php
public function removeStoredConversation($message = null)
    {
        /*
         * Only remove it from the cache if it was not modified
         * after we loaded the data from the cache.
         */
        if ($this->getStoredConversation($message)['time'] == $this->currentConversationData['time']) {
            $this->cache->pull($this->message->getConversationIdentifier());
            $this->cache->pull($this->message->getOriginatedConversationIdentifier());
        }
    }
public function removeStoredConversation($message = null)
    {
        /*
         * Only remove it from the cache if it was not modified
         * after we loaded the data from the cache.
         */
        if ($this->getStoredConversation($message)['time'] == $this->currentConversationData['time']) {
            $this->cache->pull($this->message->getConversationIdentifier());
            $this->cache->pull($this->message->getOriginatedConversationIdentifier());
        }
    }
public function removeStoredConversation ( $ message = null ) { /*
         * Only remove it from the cache if it was not modified
         * after we loaded the data from the cache.
         */ if ( $ this -> getStoredConversation ( $ message ) [ 'time' ] == $ this -> currentConversationData [ 'time' ] ) { $ this -> cache -> pull ( $ this -> message -> getConversationIdentifier ( ) ) ; $ this -> cache -> pull ( $ this -> message -> getOriginatedConversationIdentifier ( ) ) ; } }
Remove a stored conversation array from the cache for a given message.

@param null|IncomingMessage $message
Remove a stored conversation array from the cache for a given message .