for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace VideoPublisher\Domain;
/**
* Class SimpleStream.
*
* @author Bart Malestein <[email protected]>
*/
class SimpleStream
{
* @var string
private $name;
private $uuid;
private $status;
* @var boolean
private $enabled;
* SimpleStream constructor.
* @param string $data
public function __construct($data)
$this->name = $data['streamName'];
$this->uuid = $data['uuid'];
$this->status = $data['status'];
$this->enabled = (boolean)$data['enabled'];
}
* @return string
public function getName()
return $this->name;
public function getUuid()
return $this->uuid;
public function getStatus()
return $this->status;
public function getEnabled()
return $this->enabled;