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\Device\Responses;
use DaveRandom\LibLifxLan\DataTypes\Service;
use DaveRandom\LibLifxLan\Messages\Message;
final class StateService implements Message
{
public const MESSAGE_TYPE_ID = 3;
public const WIRE_SIZE = 5;
private $service;
public function __construct(Service $service)
$this->service = $service;
}
public function getService(): Service
return $this->service;
public function getTypeId(): int
return self::MESSAGE_TYPE_ID;
public function getWireSize(): int
return self::WIRE_SIZE;