1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
This commit is contained in:
Samuel Štancl 2021-04-06 22:07:27 +02:00
parent 481dd3c3fb
commit 743056e14d

View file

@ -17,11 +17,11 @@ class GenerateHtml extends Command
protected $description = 'Generate the static HTML.'; protected $description = 'Generate the static HTML.';
public function __construct( public function __construct(Router $router, UrlGenerator $url) {
public Router $router,
public UrlGenerator $url,
) {
parent::__construct(); parent::__construct();
$this->router = $router;
$this->url = $url;
} }
public function handle() public function handle()