function __construct($key = 'basket') { $this->key = $key; if (session_status() != PHP_SESSION_ACTIVE) { session_start(); } Base::instance()->sync('SESSION'); $this->reset(); }
public function __construct($company = '') { parent::__construct(); }