1 | <?php |
||
21 | class GeocoderDataCollector extends DataCollector |
||
22 | { |
||
23 | use DataCollectorSymfonyCompatibilityTrait; |
||
24 | |||
25 | /** |
||
26 | * @var ProfilingPlugin[] |
||
27 | */ |
||
28 | private $instances = []; |
||
29 | |||
30 | public function __construct() |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function reset() |
||
45 | |||
46 | /** |
||
47 | * Returns an array of collected requests. |
||
48 | */ |
||
49 | public function getQueries(): array |
||
53 | |||
54 | /** |
||
55 | * Returns the execution time of all collected requests in seconds. |
||
56 | */ |
||
57 | public function getTotalDuration(): float |
||
66 | |||
67 | public function getProviders(): array |
||
71 | |||
72 | public function getProviderQueries(string $provider): array |
||
78 | |||
79 | public function addInstance(ProfilingPlugin $instance) |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | public function getName(): string |
||
92 | } |
||
93 |