<?php

namespace App\Commands;

class AutoScanForNewFiles extends Command
{
    /** @var bool */
    protected $autoScan;

    /**
     * AutoScanForNewFIles constructor.
     *
     * @param bool $autoScan
     */
    public function __construct(bool $autoScan = false)
    {
        $this->autoScan = $autoScan;
    }

    /**
     * @return bool
     */
    public function isAutoScan(): bool
    {
        return $this->autoScan;
    }
}
Create a command object for processing files copied into the auto_scan directory.
Create a command object for processing files copied into the auto_scan directory.
