for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace slavkluev\Ip2Location;
class Bootstrap implements \yii\base\BootstrapInterface
{
public function bootstrap($app)
if ($app instanceof \yii\console\Application) {
$app->controllerMap['ip2location'] = 'slavkluev\Ip2Location\commands\Ip2LocationController';
}