32 lines
558 B
PHP
32 lines
558 B
PHP
<?php
|
|
namespace alphayax\freebox\api\v3\models\LAN;
|
|
use alphayax\freebox\utils\Model;
|
|
|
|
/**
|
|
* Class LanConfig
|
|
* @package alphayax\freebox\api\v3\models
|
|
*/
|
|
class LanInterface extends Model {
|
|
|
|
/** @var string : Lan Interface name */
|
|
protected $name;
|
|
|
|
/** @var int : Number of hosts in interface */
|
|
protected $host_count;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName() {
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getHostCount() {
|
|
return $this->host_count;
|
|
}
|
|
|
|
}
|