MakePanelCommand
class MakePanelCommand extends Command (View source)
Traits
Properties
protected | $description | ||
protected | $signature |
Methods
void
copyStubToApp(string $stub, string $targetPath, array $replacements = [])
No description
from
CanManipulateFiles
string
getDefaultStubPath()
We need to override this method as the panel provider stubs are part of the support package, not panels.
bool
generatePanel(string|null $id = null, string $default = '', string $placeholder = '', bool $force = false)
No description
from
CanGeneratePanels
int
handle()
No description
Details
protected bool
checkForCollision(array $paths)
No description
protected void
copyStubToApp(string $stub, string $targetPath, array $replacements = [])
No description
protected bool
fileExists(string $path)
No description
protected void
writeFile(string $path, string $contents)
No description
protected string
getDefaultStubPath()
We need to override this method as the panel provider stubs are part of the support package, not panels.
bool
generatePanel(string|null $id = null, string $default = '', string $placeholder = '', bool $force = false)
No description
int
handle()
No description