Sync the media. Oh sync the media.
public sync ( string | null $path = null, array $tags = [], boolean $force = false, |
||
$path | string | null | |
$tags | array | The tags to sync. Only taken into account for existing records. New records will have all tags synced in regardless. |
$force | boolean | Whether to force syncing even unchanged files |
$syncCommand | The SyncMedia command object, to log to console if executed by artisan. |