Laravel\Cashier\Cashier::usesCurrency PHP Method

usesCurrency() public static method

Get the currency currently in use.
public static usesCurrency ( ) : string
return string
    public static function usesCurrency()
    {
        return static::$currency;
    }

Usage Example

Example #1
0
 /**
  * Get the Stripe supported currency used by the entity.
  *
  * @return string
  */
 public function preferredCurrency()
 {
     return Cashier::usesCurrency();
 }