protected function challengeApply($challenge_string)
    {

        // Let's loop through all the packets and append the challenge where it is needed
        foreach ($this->packets as $packet_type => $packet) {
            $this->packets[$packet_type] = sprintf($packet, $challenge_string);
        }

        return true;
    }
protected function challengeApply($challenge_string)
    {

        // Let's loop through all the packets and append the challenge where it is needed
        foreach ($this->packets as $packet_type => $packet) {
            $this->packets[$packet_type] = sprintf($packet, $challenge_string);
        }

        return true;
    }
protected function challengeApply ( $ challenge_string ) { // Let's loop through all the packets and append the challenge where it is needed foreach ( $ this -> packets as $ packet_type => $ packet ) { $ this -> packets [ $ packet_type ] = sprintf ( $ packet , $ challenge_string ) ; } return true ; }
Apply the challenge string to all the packets that need it.

@param string $challenge_string

@return bool
Apply the challenge string to all the packets that need it .