Permalink
Browse files

Used by PR symfony/symfony#6150

  • Loading branch information...
1 parent 918cd5f commit db4da4921efce26caacd6937199c3c66a8d546ba Felix Labrecque committed Dec 4, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 runtime/lib/map/ColumnMap.php
@@ -212,6 +212,16 @@ public function isNumeric()
}
/**
+ * Whether this column is an integer
+ *
+ * @return boolean
+ */
+ public function isInteger()
+ {
+ return $this->getPdoType() === \PDO::PARAM_INT;
+ }
+
+ /**
* Whether this column is a text column (varchar, char, longvarchar).
* @return boolean
*/

0 comments on commit db4da49

Please sign in to comment.