model('BatonReader'); $cardnumber = (string)filter_input(INPUT_GET, 'cardnumber'); $app->api( $baton_reader->receive( $cardnumber, $app->config['baton_cooldown'] ) );