for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SquareetLabs\LaravelOpenVidu\Builders;
use SquareetLabs\LaravelOpenVidu\Subscriber;
/**
* Class SubscriberBuilder
* @package SquareetLabs\LaravelOpenVidu\Builders
*/
class SubscriberBuilder implements BuilderInterface
{
* @param array $properties
* @return Subscriber
public static function build(array $properties)
return new Subscriber($properties['streamId'],
$properties['publisherStreamId'],
$properties['createdAt']);
}