for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace DaveRandom\LibLifxLan\Messages\Light\Commands;
use DaveRandom\LibLifxLan\DataTypes\Light\Effect;
use DaveRandom\LibLifxLan\Messages\Message;
final class SetWaveform implements Message
{
public const MESSAGE_TYPE_ID = 103;
public const WIRE_SIZE = 21;
private $effect;
public function __construct(Effect $effect)
$this->effect = $effect;
}
public function getEffect(): Effect
return $this->effect;
public function getTypeId(): int
return self::MESSAGE_TYPE_ID;
public function getWireSize(): int
return self::WIRE_SIZE;