Move Model namespace
This commit is contained in:
parent
c5c7e1f74b
commit
e4307fedac
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\AirMedia;
|
namespace alphayax\freebox\api\v3\models\AirMedia;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AirMediaConfig
|
* Class AirMediaConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\AirMedia;
|
namespace alphayax\freebox\api\v3\models\AirMedia;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AirMediaReceiver
|
* Class AirMediaReceiver
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\AirMedia;
|
namespace alphayax\freebox\api\v3\models\AirMedia;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AirMediaReceiver
|
* Class AirMediaReceiver
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Call;
|
namespace alphayax\freebox\api\v3\models\Call;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CallEntry
|
* Class CallEntry
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Call;
|
namespace alphayax\freebox\api\v3\models\Call;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ContactAddress
|
* Class ContactAddress
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Call;
|
namespace alphayax\freebox\api\v3\models\Call;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ContactEmail
|
* Class ContactEmail
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Call;
|
namespace alphayax\freebox\api\v3\models\Call;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ContactEntry
|
* Class ContactEntry
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Call;
|
namespace alphayax\freebox\api\v3\models\Call;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ContactNumber
|
* Class ContactNumber
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Call;
|
namespace alphayax\freebox\api\v3\models\Call;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ContactUrl
|
* Class ContactUrl
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection;
|
namespace alphayax\freebox\api\v3\models\Connection;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
class Config extends Model {
|
class Config extends Model {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\DynDns;
|
namespace alphayax\freebox\api\v3\models\Connection\DynDns;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Config
|
* Class Config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\DynDns;
|
namespace alphayax\freebox\api\v3\models\Connection\DynDns;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Status
|
* Class Status
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\Ftth;
|
namespace alphayax\freebox\api\v3\models\Connection\Ftth;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Status
|
* Class Status
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\Ipv6;
|
namespace alphayax\freebox\api\v3\models\Connection\Ipv6;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Configuration
|
* Class Configuration
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\Ipv6;
|
namespace alphayax\freebox\api\v3\models\Connection\Ipv6;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Delegation
|
* Class Delegation
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection;
|
namespace alphayax\freebox\api\v3\models\Connection;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ConnectionStatus
|
* Class ConnectionStatus
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\Xdsl;
|
namespace alphayax\freebox\api\v3\models\Connection\Xdsl;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class XdslInfos
|
* Class XdslInfos
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\Xdsl;
|
namespace alphayax\freebox\api\v3\models\Connection\Xdsl;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class XdslStats
|
* Class XdslStats
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Connection\Xdsl;
|
namespace alphayax\freebox\api\v3\models\Connection\Xdsl;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class XdslStatus
|
* Class XdslStatus
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models;
|
namespace alphayax\freebox\api\v3\models;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DhcpConfig
|
* Class DhcpConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download;
|
namespace alphayax\freebox\api\v3\models\Download;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class BlackListEntry
|
* Class BlackListEntry
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DlBlockListConfig
|
* Class DlBlockListConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DlBtConfig
|
* Class DlBtConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DlFeedConfig
|
* Class DlFeedConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DlNewsConfig
|
* Class DlNewsConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DlRate
|
* Class DlRate
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DlThrottlingConfig
|
* Class DlThrottlingConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Config;
|
namespace alphayax\freebox\api\v3\models\Download\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DownloadConfig
|
* Class DownloadConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Feed;
|
namespace alphayax\freebox\api\v3\models\Download\Feed;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DownloadFeed
|
* Class DownloadFeed
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Feed;
|
namespace alphayax\freebox\api\v3\models\Download\Feed;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DownloadFeedItem
|
* Class DownloadFeedItem
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download;
|
namespace alphayax\freebox\api\v3\models\Download;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class File
|
* Class File
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download;
|
namespace alphayax\freebox\api\v3\models\Download;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Peer
|
* Class Peer
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Stats;
|
namespace alphayax\freebox\api\v3\models\Download\Stats;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DhtStats
|
* Class DhtStats
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Stats;
|
namespace alphayax\freebox\api\v3\models\Download\Stats;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\models\Download\Config\DlRate;
|
use alphayax\freebox\api\v3\models\Download\Config\DlRate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download\Stats;
|
namespace alphayax\freebox\api\v3\models\Download\Stats;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class NzbConfigStatus
|
* Class NzbConfigStatus
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download;
|
namespace alphayax\freebox\api\v3\models\Download;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Task
|
* Class Task
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Download;
|
namespace alphayax\freebox\api\v3\models\Download;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Tracker
|
* Class Tracker
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\FileSystem;
|
namespace alphayax\freebox\api\v3\models\FileSystem;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FileInfo
|
* Class FileInfo
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\FileSystem;
|
namespace alphayax\freebox\api\v3\models\FileSystem;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FileUpload
|
* Class FileUpload
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\FileSystem;
|
namespace alphayax\freebox\api\v3\models\FileSystem;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FsTask
|
* Class FsTask
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\FileSystem;
|
namespace alphayax\freebox\api\v3\models\FileSystem;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ShareLink
|
* Class ShareLink
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Freeplug;
|
namespace alphayax\freebox\api\v3\models\Freeplug;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Freeplug
|
* Class Freeplug
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Freeplug;
|
namespace alphayax\freebox\api\v3\models\Freeplug;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FreeplugNetwork
|
* Class FreeplugNetwork
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models;
|
namespace alphayax\freebox\api\v3\models;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FtpConfig
|
* Class FtpConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\LAN;
|
namespace alphayax\freebox\api\v3\models\LAN;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LanConfig
|
* Class LanConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\LAN;
|
namespace alphayax\freebox\api\v3\models\LAN;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LanHost
|
* Class LanHost
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\LAN;
|
namespace alphayax\freebox\api\v3\models\LAN;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LanHostL2Ident
|
* Class LanHostL2Ident
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\LAN;
|
namespace alphayax\freebox\api\v3\models\LAN;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LanHostL3Connectivity
|
* Class LanHostL3Connectivity
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\LAN;
|
namespace alphayax\freebox\api\v3\models\LAN;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LanHostName
|
* Class LanHostName
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\LAN;
|
namespace alphayax\freebox\api\v3\models\LAN;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LanConfig
|
* Class LanConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models;
|
namespace alphayax\freebox\api\v3\models;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LCDConfig
|
* Class LCDConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\NAT;
|
namespace alphayax\freebox\api\v3\models\NAT;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DmzConfig
|
* Class DmzConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\NAT;
|
namespace alphayax\freebox\api\v3\models\NAT;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class IncomingPortConfig
|
* Class IncomingPortConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\NAT;
|
namespace alphayax\freebox\api\v3\models\NAT;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\models\LAN\LanHost;
|
use alphayax\freebox\api\v3\models\LAN\LanHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\NetworkShare;
|
namespace alphayax\freebox\api\v3\models\NetworkShare;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AfpConfig
|
* Class AfpConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\NetworkShare;
|
namespace alphayax\freebox\api\v3\models\NetworkShare;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class SambaConfig
|
* Class SambaConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\ParentalControl;
|
namespace alphayax\freebox\api\v3\models\ParentalControl;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\ParentalControl;
|
namespace alphayax\freebox\api\v3\models\ParentalControl;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\ParentalControl;
|
namespace alphayax\freebox\api\v3\models\ParentalControl;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FilterPlanning
|
* Class FilterPlanning
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Storage;
|
namespace alphayax\freebox\api\v3\models\Storage;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\models;
|
use alphayax\freebox\api\v3\models;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Storage;
|
namespace alphayax\freebox\api\v3\models\Storage;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class OperationProgress
|
* Class OperationProgress
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\Storage;
|
namespace alphayax\freebox\api\v3\models\Storage;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
use alphayax\freebox\api\v3\models;
|
use alphayax\freebox\api\v3\models;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\SwitchPort;
|
namespace alphayax\freebox\api\v3\models\SwitchPort;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\SwitchPort;
|
namespace alphayax\freebox\api\v3\models\SwitchPort;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Stats
|
* Class Stats
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\SwitchPort;
|
namespace alphayax\freebox\api\v3\models\SwitchPort;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models;
|
namespace alphayax\freebox\api\v3\models;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class SystemConfig
|
* Class SystemConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\UPnP;
|
namespace alphayax\freebox\api\v3\models\UPnP;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class UpnpAvConfig
|
* Class UpnpAvConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\UPnP;
|
namespace alphayax\freebox\api\v3\models\UPnP;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class UpnpIgdConfig
|
* Class UpnpIgdConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\UPnP;
|
namespace alphayax\freebox\api\v3\models\UPnP;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\models\LAN\LanHost;
|
use alphayax\freebox\api\v3\models\LAN\LanHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Client\Config;
|
namespace alphayax\freebox\api\v3\models\VPN\Client\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ClientConfig
|
* Class ClientConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Client\Config;
|
namespace alphayax\freebox\api\v3\models\VPN\Client\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PPTPConfig
|
* Class PPTPConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Client;
|
namespace alphayax\freebox\api\v3\models\VPN\Client;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class IpInfo
|
* Class IpInfo
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Client;
|
namespace alphayax\freebox\api\v3\models\VPN\Client;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Stats
|
* Class Stats
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Client;
|
namespace alphayax\freebox\api\v3\models\VPN\Client;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Status
|
* Class Status
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Server\Config;
|
namespace alphayax\freebox\api\v3\models\VPN\Server\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Server\Config;
|
namespace alphayax\freebox\api\v3\models\VPN\Server\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Server\Config;
|
namespace alphayax\freebox\api\v3\models\VPN\Server\Config;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Server;
|
namespace alphayax\freebox\api\v3\models\VPN\Server;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Connection
|
* Class Connection
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Server;
|
namespace alphayax\freebox\api\v3\models\VPN\Server;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\symbols;
|
use alphayax\freebox\api\v3\symbols;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\VPN\Server;
|
namespace alphayax\freebox\api\v3\models\VPN\Server;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class User
|
* Class User
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\APStation;
|
namespace alphayax\freebox\api\v3\models\WiFi\APStation;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Flags
|
* Class Flags
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\APStation;
|
namespace alphayax\freebox\api\v3\models\WiFi\APStation;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\models\LAN\LanHost;
|
use alphayax\freebox\api\v3\models\LAN\LanHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AP
|
* Class AP
|
||||||
|
@ -59,7 +59,7 @@ class AP extends Model {
|
||||||
* @return \alphayax\freebox\api\v3\models\WiFi\AccessPoint\ApCapabilities
|
* @return \alphayax\freebox\api\v3\models\WiFi\AccessPoint\ApCapabilities
|
||||||
*/
|
*/
|
||||||
public function getCapabilites() {
|
public function getCapabilites() {
|
||||||
return $this->capabilites;
|
return $this->capabilities;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ApCapabilities
|
* Class ApCapabilities
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class APConfig
|
* Class APConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ApHtConfig
|
* Class ApHtConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class APStatus
|
* Class APStatus
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
namespace alphayax\freebox\api\v3\models\WiFi\AccessPoint;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AllowedComb
|
* Class AllowedComb
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\Bss;
|
namespace alphayax\freebox\api\v3\models\WiFi\Bss;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Bss
|
* Class Bss
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\Bss;
|
namespace alphayax\freebox\api\v3\models\WiFi\Bss;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Config
|
* Class Config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\Bss;
|
namespace alphayax\freebox\api\v3\models\WiFi\Bss;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Status
|
* Class Status
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi;
|
namespace alphayax\freebox\api\v3\models\WiFi;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class GlobalConfig
|
* Class GlobalConfig
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi;
|
namespace alphayax\freebox\api\v3\models\WiFi;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\freebox\api\v3\models;
|
use alphayax\freebox\api\v3\models;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi;
|
namespace alphayax\freebox\api\v3\models\WiFi;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Planning
|
* Class Planning
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\Radar;
|
namespace alphayax\freebox\api\v3\models\WiFi\Radar;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ChannelUsage
|
* Class ChannelUsage
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\Radar;
|
namespace alphayax\freebox\api\v3\models\WiFi\Radar;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Neighbor
|
* Class Neighbor
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3\models\WiFi\Radar;
|
namespace alphayax\freebox\api\v3\models\WiFi\Radar;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class NeighborCap
|
* Class NeighborCap
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\freebox\api\v3;
|
namespace alphayax\freebox\utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Model
|
* Class Model
|
|
@ -80,7 +80,7 @@ class Rest extends alphayax\utils\Rest {
|
||||||
$Model_xs = @$this->getCurlResponse()['result'] ?: [];
|
$Model_xs = @$this->getCurlResponse()['result'] ?: [];
|
||||||
|
|
||||||
/// Cast elements
|
/// Cast elements
|
||||||
if( ! empty( $className) && ! empty( $Model_xs) && is_subclass_of( $className, alphayax\freebox\api\v3\Model::class)) {
|
if( ! empty( $className) && ! empty( $Model_xs) && is_subclass_of( $className, alphayax\freebox\utils\Model::class)) {
|
||||||
array_walk( $Model_xs, function( &$item, $key, $className){
|
array_walk( $Model_xs, function( &$item, $key, $className){
|
||||||
$item = new $className( $item);
|
$item = new $className( $item);
|
||||||
}, $className);
|
}, $className);
|
||||||
|
@ -91,13 +91,13 @@ class Rest extends alphayax\utils\Rest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $className
|
* @param string $className
|
||||||
* @return array|alphayax\freebox\api\v3\Model
|
* @return array|\alphayax\freebox\utils\Model
|
||||||
*/
|
*/
|
||||||
public function getResult( $className = ''){
|
public function getResult( $className = ''){
|
||||||
$Model = @$this->getCurlResponse()['result'];
|
$Model = @$this->getCurlResponse()['result'];
|
||||||
|
|
||||||
/// Cast element
|
/// Cast element
|
||||||
if( ! empty( $className) && ! empty( $Model) && is_subclass_of( $className, alphayax\freebox\api\v3\Model::class) && is_array( $Model)){
|
if( ! empty( $className) && ! empty( $Model) && is_subclass_of( $className, alphayax\freebox\utils\Model::class) && is_array( $Model)){
|
||||||
return new $className( $Model);
|
return new $className( $Model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace alphayax\tests;
|
namespace alphayax\tests;
|
||||||
use alphayax\freebox\api\v3\Model;
|
use alphayax\freebox\utils\Model;
|
||||||
use alphayax\utils\file_system\Directory;
|
use alphayax\utils\file_system\Directory;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue