| @@ 15-24 (lines=10) @@ | ||
| 12 | * @method int getH() |
|
| 13 | * @method AssetDimension setH(int $h = null) |
|
| 14 | */ |
|
| 15 | class AssetDimension extends JsonObject |
|
| 16 | { |
|
| 17 | public function fieldDefinitions() |
|
| 18 | { |
|
| 19 | return [ |
|
| 20 | 'w' => [static::TYPE => 'int'], |
|
| 21 | 'h' => [static::TYPE => 'int'], |
|
| 22 | ]; |
|
| 23 | } |
|
| 24 | } |
|
| 25 | ||
| @@ 16-25 (lines=10) @@ | ||
| 13 | * @method int getH() |
|
| 14 | * @method ImageDimension setH(int $h = null) |
|
| 15 | */ |
|
| 16 | class ImageDimension extends JsonObject |
|
| 17 | { |
|
| 18 | public function fieldDefinitions() |
|
| 19 | { |
|
| 20 | return [ |
|
| 21 | 'w' => [static::TYPE => 'int'], |
|
| 22 | 'h' => [static::TYPE => 'int'], |
|
| 23 | ]; |
|
| 24 | } |
|
| 25 | } |
|
| 26 | ||