public static function getInstance() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }
/** * @param $params */ public function __construct($params) { self::$_config = $params; }