/** * Class constructor. * * @param string $id A client identifier. * @since 1.0 */ public function __construct($id) { $this->conf = ECPFactory::getConfig(); $this->secret = $this->conf->get('secret'); self::$_id = $id; }