Netson\L4gettext\L4gettextServiceProvider::registerFetchCommand PHP Method

registerFetchCommand() public method

    public function registerFetchCommand()
    {
        // add fetch command to artisan
        $this->app['l4gettext.fetch'] = $this->app->share(function ($app) {
            return new Commands\FetchCommand(new ProcessBuilder());
        });
        $this->commands('l4gettext.fetch');
    }