public function __construct($id = false, $table = false, $ds = null) { App::uses('BitcoinLib', 'Payment.Lib'); $this->Bitcoin = new BitcoinLib(); parent::__construct($id, $table, $ds); }