'start' =>
$connection->
getConnectStart(),
'duration' =>
$connection->
getConnectDuration(),
];
} foreach (static::
$queries as $query) { $data[] =
[ 'name' => 'Query',
'component' => 'Database',
'start' =>
$query['query'
]->
getStartTime(true
),
'duration' =>
$query['query'
]->
getDuration(),
'query' =>
$query['query'
]->
debugToolbarDisplay(),
];
} return $data;
} /**
* Returns the data of this collector to be formatted in the toolbar
*/
public function display(): array
{