db/StatmentCache.php
/**
     * Append statment to cache pool
     * @param object $statment
     * @param string $sql
     */
Append statment to cache pool
@param object $statment
@param string $sql
Append statment to cache pool @param object $statment @param string $sql
public function appendStatment($statment, $sql) {
        $this->checkSql($sql);
        if (! isset($this->_statments[$sql])) {
            if (! is_object($statment)) {
                throw new \InvalidArgumentException('Cache fail: Invalid STMT');
            }
            $this->_statments[$sql] = $statment;
        }
    }
public function appendStatment ( $ statment , $ sql ) { $ this -> checkSql ( $ sql ) ; if ( ! isset ( $ this -> _statments [ $ sql ] ) ) { if ( ! is_object ( $ statment ) ) { throw new \ InvalidArgumentException ( 'Cache fail: Invalid STMT' ) ; } $ this -> _statments [ $ sql ] = $ statment ; } }
Append statment to cache pool
 @param object $statment
 @param string $sql
Append statment to cache pool @param object $statment @param string $sql