<?php

namespace DLSpatie\Ray\Payloads;

class SizePayload extends Payload
{
    /** @var mixed */
    protected $size;

    public function __construct(string $size)
    {
        $this->size = $size;
    }

    public function getType(): string
    {
        return 'size';
    }

    public function getContent(): array
    {
        return [
            'size' => $this->size,
        ];
    }
}
