class Illuminate / Foundation / Console / StorageLinkCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

StorageLinkCommand

Extends

Properties

protected

$signature string

The console command signature.

Default: 'storage:link {--relative : Create the symbolic link using relative paths} {--force : Recreate existing symbolic links}'
protected

$description string

The console command description.

Default: 'Create the symbolic links configured for the application'

Methods

public

handle ( ) : void

Execute the console command.

protected

Get the symbolic links that are configured for the application.

protected

Determine if the provided path is a symlink that can be removed.

Parameters

  • $link string
  • $force bool