D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
public_html
/
vendor
/
spatie
/
laravel-medialibrary
/
src
/
Support
/
Filename :
RemoteFile.php
back
Copy
<?php namespace Spatie\MediaLibrary\Support; class RemoteFile { public function __construct(protected string $key, protected string $disk) { } public function getKey(): string { return $this->key; } public function getDisk(): string { return $this->disk; } public function getFilename(): string { return basename($this->key); } public function getName(): string { return pathinfo($this->getFilename(), PATHINFO_FILENAME); } }