| 1 | <?php |
||
| 8 | class ProjectCollector |
||
| 9 | { |
||
| 10 | const PROJECTS_PATTERN = '/api/0/organizations/%s/projects/'; |
||
| 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 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function getSlugs(SentryRequest $sentryRequest, $organisation) |
||
| 39 | } |
||
| 40 |