Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
immortalist
/
wp-content
/
plugins
/
tenweb-speed-optimizer
/
vendor
/
enqueue
/
fs
:
FsDestination.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Enqueue\Fs; use Interop\Queue\Queue; use Interop\Queue\Topic; class FsDestination implements Queue, Topic { /** * @var \SplFileInfo */ private $file; public function __construct(\SplFileInfo $file) { $this->file = $file; } public function getFileInfo(): \SplFileInfo { return $this->file; } public function getName(): string { return $this->file->getFilename(); } public function getQueueName(): string { return $this->file->getFilename(); } public function getTopicName(): string { return $this->file->getFilename(); } }