Doctrine\DBAL\Connection::fetchAssoc
Prepares and executes an SQL query and returns the first row of the result as an associative array.
Signature
public function fetchAssoc(string
$statement,
array
$params )
Parameters
$statement
— string- The SQL query.
$params
— array- The query parameters.
Returns
- array