Split ResolveResult from Resolve.php Split up Device.php Signed-off-by: Diederik de Groot <ddegroot@talon.nl>
29 lines
539 B
PHP
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;
|
|
}
|
|
}
|
|
?>
|