public function dbTypecast($value) { // the default implementation does the same as casting for PHP, but it should be possible // to override this with annotation of explicit PDO type. return $this->typecast($value); }