PHP 8.3.31
Preview: Files.php Size: 540 B
/home/getspomw/royalsquad.us/vendor/laravel/pail/src/Files.php

<?php

namespace Laravel\Pail;

use Illuminate\Support\Collection;

class Files
{
    /**
     * Creates a new instance of the files.
     */
    public function __construct(
        protected string $path,
    ) {
        //
    }

    /**
     * Returns the list of files.
     *
     * @return \Illuminate\Support\Collection<int, File>
     */
    public function all(): Collection
    {
        $files = glob($this->path.'/*.pail') ?: [];

        return collect($files)
            ->map(fn (string $file) => new File($file));
    }
}

Directory Contents

Dirs: 5 × Files: 8

Name Size Perms Modified Actions
Console DIR
- drwxrwxrwx 2025-09-17 06:53:03
Edit Download
Contracts DIR
- drwxrwxrwx 2025-09-17 06:53:03
Edit Download
Guards DIR
- drwxrwxrwx 2025-09-17 06:53:03
Edit Download
Printers DIR
- drwxrwxrwx 2026-04-21 18:27:07
Edit Download
- drwxrwxrwx 2025-09-17 06:53:03
Edit Download
960 B lrw-r--r-- 2026-04-25 12:17:06
Edit Download
1.86 KB lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
540 B lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
4.01 KB lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
652 B lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
2.05 KB lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
2.37 KB lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
1.84 KB lrw-rw-rw- 2025-09-17 06:53:03
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).