1 | <?php |
||
8 | class EventCollector |
||
9 | { |
||
10 | const EVENTS_PATTERN = '/api/0/projects/%s/%s/events/'; |
||
11 | |||
12 | /** |
||
13 | * @var SentryClient |
||
14 | */ |
||
15 | private $sentryClient; |
||
16 | |||
17 | /** |
||
18 | * @param SentryClient $sentryClient |
||
19 | */ |
||
20 | public function __construct(SentryClient $sentryClient) |
||
24 | |||
25 | /** |
||
26 | * @param SentryRequest $sentryRequest |
||
27 | * @param string $organisation |
||
28 | * @param string $project |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | public function getSimplifiedEvents(SentryRequest $sentryRequest, $organisation, $project) |
||
49 | } |
||
50 |