Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/externals/stripe-php/lib/Stripe/Event.php
12256 views
1
<?php
2
3
class Stripe_Event extends Stripe_ApiResource
4
{
5
/**
6
* @param string $id The ID of the event to retrieve.
7
* @param string|null $apiKey
8
*
9
* @return Stripe_Event
10
*/
11
public static function retrieve($id, $apiKey=null)
12
{
13
$class = get_class();
14
return self::_scopedRetrieve($class, $id, $apiKey);
15
}
16
17
/**
18
* @param array|null $params
19
* @param string|null $apiKey
20
*
21
* @return array An array of Stripe_Events.
22
*/
23
public static function all($params=null, $apiKey=null)
24
{
25
$class = get_class();
26
return self::_scopedAll($class, $params, $apiKey);
27
}
28
}
29
30