src/VkCommunityCallbackDriver.php
/**
     * Determine if the request is for this driver.
     *
     * @return bool
     * @throws VKDriverDeprecatedFeature
     * @throws VKDriverException
     */
Determine if the request is for this driver.
Determine if the request is for this driver .
public function matchesRequest() {
        $check = !is_null($this->payload->get("secret")) &&
            $this->payload->get("secret") == $this->config->get("secret") &&
            !is_null($this->payload->get("group_id")) &&
            $this->payload->get("group_id") == $this->config->get("group_id");
        if($check) $this->configurationCheckUp();
        return $check;
    }
public function matchesRequest ( ) { $ check = ! is_null ( $ this -> payload -> get ( " secret " ) ) && $ this -> payload -> get ( " secret " ) == $ this -> config -> get ( " secret " ) && ! is_null ( $ this -> payload -> get ( " group_id " ) ) && $ this -> payload -> get ( " group_id " ) == $ this -> config -> get ( " group_id " ) ; if ( $ check ) $ this -> configurationCheckUp ( ) ; return $ check ; }
Determine if the request is for this driver.
Determine if the request is for this driver .
//TODO: anything else?
 //TODO: verification via implementing VerifiesService's verifyRequest() method // Stop performing the request if errors