Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets access and modification time of file
<?php touch(string $filename, ?int $mtime = null, ?int $atime = null): bool
<?php         if (app()->runningUnitTests())

        {

            @touch($this->path(), now()->timestamp);

        }

    }
<?php         foreach (FileUploadConfiguration::storage()->allFiles() as $fileShortPath) {

            touch(FileUploadConfiguration::storage()->path($fileShortPath), now()->subDays(2)->timestamp);

        }



        Livewire::test(FileUploadComponent::class)
<?php         foreach (FileUploadConfiguration::storage()->allFiles() as $fileShortPath) {

            touch(FileUploadConfiguration::storage()->path($fileShortPath), now()->subDays(2)->timestamp);

        }



        Livewire::test(FileUploadComponent::class)
<?php         foreach (FileUploadConfiguration::storage()->allFiles() as $fileShortPath) {

            touch(FileUploadConfiguration::storage()->path($fileShortPath), now()->subDays(2)->timestamp);

        }



        Livewire::test(FileUploadComponent::class)