Example #1
0
 /**
  * @param  DibiConnection
  */
 public function __construct(DibiConnection $connection)
 {
     $this->connection = $connection;
     if (self::$normalizer === NULL) {
         self::$normalizer = new DibiHashMap(array(__CLASS__, '_formatClause'));
     }
 }
Example #2
0
 /**
  * @param  Connection
  */
 public function __construct(Connection $connection)
 {
     $this->connection = $connection;
     if (self::$normalizer === NULL) {
         self::$normalizer = new HashMap([__CLASS__, '_formatClause']);
     }
 }