public function execute($server, $frame)
    {
        $skip = false;

        foreach ($this->strategies as $strategy) {
            $result = App::invokeMethod(
                [$strategy, 'handle'],
                [
                    'server' => $server,
                    'frame'  => $frame,
                ]
            );
            if ($result === true) {
                $skip = true;
                break;
            }
        }

        return $skip;
    }
public function execute($server, $frame)
    {
        $skip = false;

        foreach ($this->strategies as $strategy) {
            $result = App::invokeMethod(
                [$strategy, 'handle'],
                [
                    'server' => $server,
                    'frame'  => $frame,
                ]
            );
            if ($result === true) {
                $skip = true;
                break;
            }
        }

        return $skip;
    }
public function execute ( $ server , $ frame ) { $ skip = false ; foreach ( $ this -> strategies as $ strategy ) { $ result = App :: invokeMethod ( [ $ strategy , 'handle' ] , [ 'server' => $ server , 'frame' => $ frame , ] ) ; if ( $ result === true ) { $ skip = true ; break ; } } return $ skip ; }
Execute strategies before decoding payload.
If return value is true will skip decoding.

@param Server $server
@param Frame  $frame

@return boolean
Execute strategies before decoding payload . If return value is true will skip decoding .