use Illuminate\Contracts\Filesystem\Filesystem as Storage;
use Illuminate\Filesystem\FilesystemManager;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
use Illuminate\Contracts\Filesystem\Filesystem as Storage;
use Illuminate\Filesystem\FilesystemManager;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
// Change to our secure-attachment disk if any of the local options
// are used to prevent escaping that location.
// Change to our secure-attachment disk if any of the local options
// are used to prevent escaping that location.
- * Stream an attachment from storage.
- *
- * @return resource|null
- * @throws FileNotFoundException
+ * Read the file size of an attachment from storage, in bytes.