public function jsonSerialize()
    {
        return [
            'name' => $this->name(),
            'path' => $this->path(),
            'directory' => $this->directory(),
            'container' => $this->container(),
            'size' => $this->size(),
            'content_type' => $this->contentType(),
            'last_modified' => $this->lastModifiedAt(),
            'etag' => $this->etag(),
        ];
    }
public function jsonSerialize()
    {
        return [
            'name' => $this->name(),
            'path' => $this->path(),
            'directory' => $this->directory(),
            'container' => $this->container(),
            'size' => $this->size(),
            'content_type' => $this->contentType(),
            'last_modified' => $this->lastModifiedAt(),
            'etag' => $this->etag(),
        ];
    }
public function jsonSerialize ( ) { return [ 'name' => $ this -> name ( ) , 'path' => $ this -> path ( ) , 'directory' => $ this -> directory ( ) , 'container' => $ this -> container ( ) , 'size' => $ this -> size ( ) , 'content_type' => $ this -> contentType ( ) , 'last_modified' => $ this -> lastModifiedAt ( ) , 'etag' => $ this -> etag ( ) , ] ; }
JSON representation of file.

@return array
JSON representation of file .