21 lines
422 B
PHP
21 lines
422 B
PHP
<?php
|
|
|
|
namespace Doctrine\DBAL;
|
|
|
|
/**
|
|
* Legacy Class that keeps BC for using the legacy APIs fetch()/fetchAll().
|
|
*
|
|
* @deprecated Use the dedicated fetch*() methods for the desired fetch mode instead.
|
|
*/
|
|
class FetchMode
|
|
{
|
|
/** @link PDO::FETCH_ASSOC */
|
|
public const ASSOCIATIVE = 2;
|
|
|
|
/** @link PDO::FETCH_NUM */
|
|
public const NUMERIC = 3;
|
|
|
|
/** @link PDO::FETCH_COLUMN */
|
|
public const COLUMN = 7;
|
|
}
|