X
Create New Item
Item Type :
File
Folder
Item Name :
X
Search Results
vendor
spatie
laravel-package-tools
src
Concerns
Package
Cancel
Backup
Advanced Editor
Save
<?php namespace Spatie\LaravelPackageTools\Concerns\Package; use Spatie\LaravelPackageTools\Commands\InstallCommand; trait HasInstallCommand { public function hasInstallCommand($callable): static { $installCommand = new InstallCommand($this); $callable($installCommand); $this->consoleCommands[] = $installCommand; return $this; } }