···11+<?php
22+33+// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
44+// See the LICENCE file in the repository root for full licence text.
55+66+namespace App\Console\Commands;
77+88+use App\Libraries\Ip2AsnUpdater;
99+use Illuminate\Console\Command;
1010+1111+class Ip2AsnUpdate extends Command
1212+{
1313+ protected $signature = 'ip2asn:update';
1414+ protected $description = 'Update or initialise ip2asn database';
1515+1616+ public function handle()
1717+ {
1818+ (new Ip2AsnUpdater())->run();
1919+ }
2020+}