method __construct documentation in bbn\Cdn\Library
Constructor.
Example
$db = new \bbn\Db([
'engine' => 'sqlite',
'db' => BBN_CDN_DB
]);
$lib = new \bbn\Cdn\Library($db, 'fr');
function(bbn\Db $db, $lang = 'en')
{
$this->db = $db;
$this->lang = $lang;
}
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