Files
provision_sccp/lib/Device/Device.php
Diederik de Groot 729dccb7f8 Fix UnitTests
Split ResolveResult from Resolve.php
Split up Device.php

Signed-off-by: Diederik de Groot <ddegroot@talon.nl>
2020-03-22 14:06:33 +01:00

29 lines
539 B
PHP

<?php
declare(strict_types=1);
namespace PROVISION\Device;
use PROVISION\Device\Type as Type;
use PROVISION\Device\Family as Family;
use PROVISION\Device\Protocol as Protocol;
use PROVISION\Device\Flags as Flags;
abstract class Device
{
private $name;
private $family;
private $prococol;
private $flags;
function __construct($name, $family, $protocol, $flags = null) {
$this->name = $name;
$this->family = $family;
$this->protocol = $protocol;
$this->flags = $flags;
}
function getName()
{
return $this->name;
}
}
?>