add(get_called_class()); } /** * Return the merchant identity associated with the current * Balanced\Settings::$api_key. If you are not authenticated (i.e. * ) then Balanced\Exceptions\NoResult * will be thrown. * * * $merchant = \Balanced\Merchant::me(); * $owner_account = \Balanced\Marketplace::mine()->owner_account; * assert($merchant->id == $owner_account->merchant->id); * * * @throws \RESTful\Exceptions\NoResultFound * @return \Balanced\Merchant */ public static function me() { return self::query()->one(); } }