---
title: photoCachedSize
description: photoCachedSize attributes, type and example
---
## Constructor: photoCachedSize  
[Back to constructors index](index.md)



### Attributes:

| Name     |    Type       | Required |
|----------|:-------------:|---------:|
|type|[string](../types/string.md) | Required|
|location|[FileLocation](../types/FileLocation.md) | Required|
|w|[int](../types/int.md) | Required|
|h|[int](../types/int.md) | Required|
|bytes|[bytes](../types/bytes.md) | Required|



### Type: [PhotoSize](../types/PhotoSize.md)


### Example:

```
$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ];
```