src/PAMI/AsyncAgi/AsyncClientImpl.php
public function handle(EventMessage $event)
    {
        if ($event instanceof \PAMI\Message\Event\AsyncAGIEvent) {
            if ($event->getCommandId() == $this->lastCommandId) {
                $this->lastAgiResult = trim($event->getResult());
            }
        }
    }
public function handle(EventMessage $event)
    {
        if ($event instanceof \PAMI\Message\Event\AsyncAGIEvent) {
            if ($event->getCommandId() == $this->lastCommandId) {
                $this->lastAgiResult = trim($event->getResult());
            }
        }
    }
public function handle ( EventMessage $ event ) { if ( $ event instanceof \ PAMI \ Message \ Event \ AsyncAGIEvent ) { if ( $ event -> getCommandId ( ) == $ this -> lastCommandId ) { $ this -> lastAgiResult = trim ( $ event -> getResult ( ) ) ; } } }
Handles pami events.

@param EventMessage $event

@return void
Handles pami events .