src/File.php
public function details() : array
    {
        $now = Carbon::now();

        return [
            'name' => $this->name,
            'size' => $this->fileSize,
            'offset' => $this->offset,
            'checksum' => $this->checksum,
            'location' => $this->location,
            'file_path' => $this->filePath,
            'created_at' => $now->format($this->cache::RFC_7231),
            'expires_at' => $now->addSeconds($this->cache->getTtl())->format($this->cache::RFC_7231),
        ];
    }
public function details() : array
    {
        $now = Carbon::now();

        return [
            'name' => $this->name,
            'size' => $this->fileSize,
            'offset' => $this->offset,
            'checksum' => $this->checksum,
            'location' => $this->location,
            'file_path' => $this->filePath,
            'created_at' => $now->format($this->cache::RFC_7231),
            'expires_at' => $now->addSeconds($this->cache->getTtl())->format($this->cache::RFC_7231),
        ];
    }
public function details ( ) : array { $ now = Carbon :: now ( ) ; return [ 'name' => $ this -> name , 'size' => $ this -> fileSize , 'offset' => $ this -> offset , 'checksum' => $ this -> checksum , 'location' => $ this -> location , 'file_path' => $ this -> filePath , 'created_at' => $ now -> format ( $ this -> cache :: RFC_7231 ) , 'expires_at' => $ now -> addSeconds ( $ this -> cache -> getTtl ( ) ) -> format ( $ this -> cache :: RFC_7231 ) , ] ; }
Get file meta.

@return array
Get file meta .