public function getNotification()
    {
        $result = false;
        try {
            $this->addHeader();
            $connectionResult = $this->getSoap()->GetNotification([
                'connectionId' => $this->connectioId
            ]);
            $result           = $connectionResult->GetNotificationResult->EmployeePassageNotifications->EmployeePassageNotification;
        } catch (\SoapFault $ex) {
            $result = false;
        } catch (\Exception $ex) {

        }
        return $result;
    }
public function getNotification()
    {
        $result = false;
        try {
            $this->addHeader();
            $connectionResult = $this->getSoap()->GetNotification([
                'connectionId' => $this->connectioId
            ]);
            $result           = $connectionResult->GetNotificationResult->EmployeePassageNotifications->EmployeePassageNotification;
        } catch (\SoapFault $ex) {
            $result = false;
        } catch (\Exception $ex) {

        }
        return $result;
    }
public function getNotification ( ) { $ result = false ; try { $ this -> addHeader ( ) ; $ connectionResult = $ this -> getSoap ( ) -> GetNotification ( [ 'connectionId' => $ this -> connectioId ] ) ; $ result = $ connectionResult -> GetNotificationResult -> EmployeePassageNotifications -> EmployeePassageNotification ; } catch ( \ SoapFault $ ex ) { $ result = false ; } catch ( \ Exception $ ex ) { } return $ result ; }
Long polling request

getNotification response:
$result = stdClass Object
(
[DateTime] => 2015-08-06T11:35:53
[Details] => По ключу Номер ключа 20033968059153 (0x1235EFF02411)
[DriverId] => 8a041882-7d14-4ef1-9df6-0ceba9f396a3
[EmployeeId] => 6a3432c6-c93f-4cd1-8796-c0fg45e77143
[IsKeyEvent] =>
[LogMessageId] =>
[Message] => Выход
[MessageSubType] => AccessPointExitByKey
[MessageType] => Information
[OperatorId] =>
[EmployeeFirstName] => Имя
[EmployeeGroupFullPath] => Группа
[EmployeeLastName] => Фамилия
[EmployeePosition] => Должность
[EmployeeSecondName] => Отчество
)

@return mixed
Long polling request