src/LINEBot.php
public function parseEventRequest($body, $signature, $eventOnly = true)
    {
        return EventRequestParser::parseEventRequest($body, $this->channelSecret, $signature, $eventOnly);
    }
public function parseEventRequest($body, $signature, $eventOnly = true)
    {
        return EventRequestParser::parseEventRequest($body, $this->channelSecret, $signature, $eventOnly);
    }
public function parseEventRequest ( $ body , $ signature , $ eventOnly = true ) { return EventRequestParser :: parseEventRequest ( $ body , $ this -> channelSecret , $ signature , $ eventOnly ) ; }
Parse event request to Event objects.

@param string $body Request body.
@param string $signature Signature of request.
@param bool $eventOnly if this flag on, get events only.
@return mixed
@throws LINEBot\Exception\InvalidEventRequestException
@throws LINEBot\Exception\InvalidSignatureException
Parse event request to Event objects .