App\services\UploadsManager::fileDetails PHP Method

fileDetails() protected method

Return an array of file details for a file
protected fileDetails ( $path ) : array
$path
return array
    protected function fileDetails($path)
    {
        $path = '/' . ltrim($path, '/');
        return ['name' => basename($path), 'fullPath' => $path, 'webPath' => $this->fileWebpath($path), 'mimeType' => $this->fileMimeType($path), 'size' => $this->fileSize($path), 'modified' => $this->fileModified($path)];
    }