public static function getInstance($properties = null) { if (!self::$instance) { self::$instance = new self($properties); } return self::$instance; }