public static function getInstance(array $config = array()) { if (!self::$instance) { self::$instance = new self($config); } return self::$instance; }
public static function invoice($config = array()) { return J2Invoice::getInstance($config); }