public function deliver(ITip\Message $iTipMessage)
    {
        $this->server->emit('schedule', [$iTipMessage]);
        if (!$iTipMessage->scheduleStatus) {
            $iTipMessage->scheduleStatus = '5.2;There was no system capable of delivering the scheduling message';
        }
        // In case the change was considered 'insignificant', we are going to
        // remove any error statuses, if any. See ticket #525.
        list($baseCode) = explode('.', $iTipMessage->scheduleStatus);
        if (!$iTipMessage->significantChange && in_array($baseCode, ['3', '5'])) {
            $iTipMessage->scheduleStatus = null;
        }
    }
public function deliver(ITip\Message $iTipMessage)
    {
        $this->server->emit('schedule', [$iTipMessage]);
        if (!$iTipMessage->scheduleStatus) {
            $iTipMessage->scheduleStatus = '5.2;There was no system capable of delivering the scheduling message';
        }
        // In case the change was considered 'insignificant', we are going to
        // remove any error statuses, if any. See ticket #525.
        list($baseCode) = explode('.', $iTipMessage->scheduleStatus);
        if (!$iTipMessage->significantChange && in_array($baseCode, ['3', '5'])) {
            $iTipMessage->scheduleStatus = null;
        }
    }
public function deliver ( ITip \ Message $ iTipMessage ) { $ this -> server -> emit ( 'schedule' , [ $ iTipMessage ] ) ; if ( ! $ iTipMessage -> scheduleStatus ) { $ iTipMessage -> scheduleStatus = '5.2;There was no system capable of delivering the scheduling message' ; } // In case the change was considered 'insignificant', we are going to // remove any error statuses, if any. See ticket #525. list ( $ baseCode ) = explode ( '.' , $ iTipMessage -> scheduleStatus ) ; if ( ! $ iTipMessage -> significantChange && in_array ( $ baseCode , [ '3' , '5' ] ) ) { $ iTipMessage -> scheduleStatus = null ; } }
This method is responsible for delivering the ITip message.

@param ITip\Message $iTipMessage
This method is responsible for delivering the ITip message .