method __construct documentation in bbn\Api\Scaleway
Constructor.
function(string $token, bool $testmode = false)
{
if (empty($token)) {
throw new \Error(_('The API token is mandatory'));
}
self::cacheInit();
$this->_token = $token;
$this->_testmode = $testmode;
if (class_exists('\\bbn\\Cache')) {
$this->_cacher = Cache::getEngine();
}
}
Constructor. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions